Mesa (master): glx/dri2: rework __DRIextension handling
Emil Velikov
evelikov at kemper.freedesktop.org
Mon Apr 28 18:12:56 UTC 2014
Module: Mesa
Branch: master
Commit: 4be3874c97379b72f1129e7866ec6868610778a5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4be3874c97379b72f1129e7866ec6868610778a5
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Wed Feb 12 20:14:15 2014 +0000
glx/dri2: rework __DRIextension handling
Make sure that the DRI*Extensions report the version of the interface
implemented over the listed in the headers. While both are currently
the same, this may change in the future.
v2: Keep loader extensions handling as is.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com> (v1)
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
---
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 4965908..b6acfbc 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -969,7 +969,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
More information about the mesa-commit
mailing list