EGL DRI2: Silence 'missing initializer' warnings
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 23 Sep 2010 16:40:58 +0000 (09:40 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 24 Sep 2010 16:40:06 +0000 (09:40 -0700)
src/egl/drivers/dri2/egl_dri2.c

index 5823ef253ff83398d8655557929de7a5ae43729f..2b6e36876dcdb21ff7c936757a42c7e1f9d50390 100644 (file)
@@ -449,14 +449,14 @@ struct dri2_extension_match {
 static struct dri2_extension_match dri2_driver_extensions[] = {
    { __DRI_CORE, 1, offsetof(struct dri2_egl_display, core) },
    { __DRI_DRI2, 1, offsetof(struct dri2_egl_display, dri2) },
-   { NULL }
+   { NULL, 0, 0 }
 };
 
 static struct dri2_extension_match dri2_core_extensions[] = {
    { __DRI2_FLUSH, 1, offsetof(struct dri2_egl_display, flush) },
    { __DRI_TEX_BUFFER, 2, offsetof(struct dri2_egl_display, tex_buffer) },
    { __DRI_IMAGE, 1, offsetof(struct dri2_egl_display, image) },
-   { NULL }
+   { NULL, 0, 0 }
 };
 
 static EGLBoolean