diff options
author | Emil Velikov <[email protected]> | 2014-02-12 20:14:15 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-04-28 19:13:18 +0100 |
commit | 4be3874c97379b72f1129e7866ec6868610778a5 (patch) | |
tree | 6be2153f1c5ce6ebeae2dc1564b8981a07ee18b3 | |
parent | 98e2a8e2f98dd78de682d92f100598191617ac89 (diff) |
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 <[email protected]>
Reviewed-by: Ian Romanick <[email protected]> (v1)
Reviewed-by: Kristian Høgsberg <[email protected]>
-rw-r--r-- | src/glx/dri2_glx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 49659081221..b6acfbc8b9e 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 |