[Mesa-dev] [PATCH 13/38] gbm: explicitly set __DRIimageLoaderExtension members
Emil Velikov
emil.l.velikov at gmail.com
Wed Feb 12 17:17:39 PST 2014
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gbm/backends/dri/gbm_dri.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index 5a0dad0..5b9998f 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -141,9 +141,10 @@ static const __DRIdri2LoaderExtension dri2_loader_extension = {
};
static const __DRIimageLoaderExtension image_loader_extension = {
- { __DRI_IMAGE_LOADER, 1 },
- image_get_buffers,
- dri_flush_front_buffer,
+ .base = { __DRI_IMAGE_LOADER, 1 },
+
+ .getBuffers = image_get_buffers,
+ .flushFrontBuffer = dri_flush_front_buffer,
};
--
1.8.5.4
More information about the mesa-dev
mailing list