summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-02-12 18:32:59 +0000
committerEmil Velikov <[email protected]>2014-02-23 16:42:16 +0000
commit9e627ccc0dea03d83c80c56532664ee0a1cb5085 (patch)
tree55f1dbf2f25c10048877e22beef00a3773b9ef41 /src/egl
parent73b35b913e62c8d3f7d670fce272adf14e3f73f4 (diff)
egl/wayland: explicitly set __DRIimageLoaderExtension members
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>y
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/platform_wayland.c7
1 files 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