egl/wayland: explicitly set __DRIimageLoaderExtension members
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Feb 2014 18:32:59 +0000 (18:32 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 23 Feb 2014 16:42:16 +0000 (16:42 +0000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>y
src/egl/drivers/dri2/platform_wayland.c

index 50750a92d9828e3358160a486246d4646c790b97..a9c067f906b803203415cabe7337f5e958c46835 100644 (file)
@@ -495,9 +495,10 @@ dri2_flush_front_buffer(__DRIdrawable * driDrawable, void *loaderPrivate)
 }
 
 static const __DRIimageLoaderExtension image_loader_extension = {
-   { __DRI_IMAGE_LOADER, 1 },
-   image_get_buffers,
-   dri2_flush_front_buffer
+   .base = { __DRI_IMAGE_LOADER, 1 },
+
+   .getBuffers          = image_get_buffers,
+   .flushFrontBuffer    = dri2_flush_front_buffer,
 };
 
 static void