From 4e229a6e86ba0c3bcd905a33ab8f9be3b726771a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 12 Feb 2014 18:43:11 +0000 Subject: gbm: explicitly set __DRIimageLoaderExtension members Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick --- 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 5a0dad0fb71..5b9998ff6e0 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, }; -- cgit v1.2.3