diff options
author | Emil Velikov <[email protected]> | 2014-02-12 19:25:39 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-23 16:42:16 +0000 |
commit | 8b45bc0ad518114bf6d585d1a9738a7e3768d5c9 (patch) | |
tree | d00cf177e05784cd1d79d2ece5345b7d24d96475 /src | |
parent | 92273962f5207af2229ceb5445b273afc0dc63d5 (diff) |
gbm: explicitly set __DRIdri2LoaderExtension members
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>y
Diffstat (limited to 'src')
-rw-r--r-- | src/gbm/backends/dri/gbm_dri.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index e0139804429..5a0dad0fb71 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -133,10 +133,11 @@ static const __DRIimageLookupExtension image_lookup_extension = { }; static const __DRIdri2LoaderExtension dri2_loader_extension = { - { __DRI_DRI2_LOADER, 3 }, - dri_get_buffers, - dri_flush_front_buffer, - dri_get_buffers_with_format, + .base = { __DRI_DRI2_LOADER, 3 }, + + .getBuffers = dri_get_buffers, + .flushFrontBuffer = dri_flush_front_buffer, + .getBuffersWithFormat = dri_get_buffers_with_format, }; static const __DRIimageLoaderExtension image_loader_extension = { |