gbm: explicitly set __DRIdri2LoaderExtension members
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Feb 2014 19:25:39 +0000 (19:25 +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/gbm/backends/dri/gbm_dri.c

index e0139804429377d51ad54cdf0736e5ee45b9472d..5a0dad0fb71534faaf7545e815c7e1743ba4b56b 100644 (file)
@@ -133,10 +133,11 @@ static const __DRIimageLookupExtension image_lookup_extension = {
 };
 
 static const __DRIdri2LoaderExtension dri2_loader_extension = {
-   { __DRI_DRI2_LOADER, 3 },
-   dri_get_buffers,
-   dri_flush_front_buffer,
-   dri_get_buffers_with_format,
+   .base = { __DRI_DRI2_LOADER, 3 },
+
+   .getBuffers              = dri_get_buffers,
+   .flushFrontBuffer        = dri_flush_front_buffer,
+   .getBuffersWithFormat    = dri_get_buffers_with_format,
 };
 
 static const __DRIimageLoaderExtension image_loader_extension = {