From: Emil Velikov Date: Wed, 12 Feb 2014 18:32:59 +0000 (+0000) Subject: egl/wayland: explicitly set __DRIimageLoaderExtension members X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e627ccc0dea03d83c80c56532664ee0a1cb5085;p=mesa.git egl/wayland: explicitly set __DRIimageLoaderExtension members Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick y --- 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