projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef342aa
)
glx/dri: use the implemented version of __DRIdamageExtension
author
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 12 Feb 2014 19:53:52 +0000
(19:53 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Sun, 23 Feb 2014 16:42:17 +0000
(16:42 +0000)
... over the one provided by the headers.
Explicitly set extension members to improve clarity.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/dri_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/dri_glx.c
b/src/glx/dri_glx.c
index 859375013f1739e2bff2dcd6dde525dcde4e500a..3b7502d1b01dedbfbad04b47053106678269eb46 100644
(file)
--- a/
src/glx/dri_glx.c
+++ b/
src/glx/dri_glx.c
@@
-271,8
+271,9
@@
__glXReportDamage(__DRIdrawable * driDraw,
}
static const __DRIdamageExtension damageExtension = {
- {__DRI_DAMAGE, __DRI_DAMAGE_VERSION},
- __glXReportDamage,
+ .base = {__DRI_DAMAGE, 1 },
+
+ .reportDamage = __glXReportDamage,
};
#endif