summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-09-23 09:40:58 -0700
committerIan Romanick <[email protected]>2010-09-24 09:40:06 -0700
commit137fce247f8f575f5ff38da65171bd26b4e38866 (patch)
tree3800614086cd32c8a0497f99a210e1e036e4dd91 /src/egl
parenteade946cbf787f48f773c8a4037af0ead425eb26 (diff)
EGL DRI2: Silence 'missing initializer' warnings
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 5823ef253ff..2b6e36876dc 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -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