aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-02-12 19:53:52 +0000
committerEmil Velikov <[email protected]>2014-02-23 16:42:17 +0000
commitf6537d06089f991678b2afb7033aaf07bc4c9d50 (patch)
tree8baa404eef656e137d1cb440129703720537e947 /src
parentef342aad80503659beac9ae4645d11d9bb17d847 (diff)
glx/dri: use the implemented version of __DRIdamageExtension
... over the one provided by the headers. Explicitly set extension members to improve clarity. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glx/dri_glx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c
index 859375013f1..3b7502d1b01 100644
--- 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