diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-02-12 18:43:11 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-02-23 16:42:17 +0000 |
commit | 4e229a6e86ba0c3bcd905a33ab8f9be3b726771a (patch) | |
tree | 784c73e7b1d14ee7aeea0f77d2e3f4850da222e8 /src/gbm/backends | |
parent | 9e627ccc0dea03d83c80c56532664ee0a1cb5085 (diff) |
gbm: explicitly set __DRIimageLoaderExtension members
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/gbm/backends')
-rw-r--r-- | src/gbm/backends/dri/gbm_dri.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index 5a0dad0fb7..5b9998ff6e 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, }; |