From 9e627ccc0dea03d83c80c56532664ee0a1cb5085 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 12 Feb 2014 18:32:59 +0000 Subject: [PATCH] egl/wayland: explicitly set __DRIimageLoaderExtension members Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick y --- src/egl/drivers/dri2/platform_wayland.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 50750a92d98..a9c067f906b 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -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 -- 2.30.2