projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e627cc
)
gbm: explicitly set __DRIimageLoaderExtension members
author
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 12 Feb 2014 18:43:11 +0000
(18:43 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Sun, 23 Feb 2014 16:42:17 +0000
(16:42 +0000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/gbm/backends/dri/gbm_dri.c
patch
|
blob
|
history
diff --git
a/src/gbm/backends/dri/gbm_dri.c
b/src/gbm/backends/dri/gbm_dri.c
index 5a0dad0fb71534faaf7545e815c7e1743ba4b56b..5b9998ff6e0ae53512ac127a890e232035efea9b 100644
(file)
--- 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,
};