[Mesa-dev] [PATCH 23/43] glx/dri2: use the implemented version of __DRIuseInvalidateExtension
Emil Velikov
emil.l.velikov at gmail.com
Tue Feb 18 17:20:02 PST 2014
... over the one provided by the headers.
Explicitly set extension members to improve clarity.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/glx/dri2_glx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 58b7bf1..16b9b0a 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -971,7 +971,7 @@ static const __DRIdri2LoaderExtension dri2LoaderExtension_old = {
};
static const __DRIuseInvalidateExtension dri2UseInvalidate = {
- { __DRI_USE_INVALIDATE, __DRI_USE_INVALIDATE_VERSION }
+ .base = { __DRI_USE_INVALIDATE, 1 }
};
_X_HIDDEN void
--
1.9.0
More information about the mesa-dev
mailing list