aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdel Gadllah <[email protected]>2014-03-30 23:36:25 +0200
committerDave Airlie <[email protected]>2014-04-02 21:28:26 +0100
commitd120506e158e58b7a532c31427fe0a056ea270d8 (patch)
treee238801f0d61c99c36a3ce3fa4ba01a766b9fbcc /src
parent2355a6441435b8e66a032c44f0794066338e30a3 (diff)
glx: Do not advertise buffer_age on dri2
Previously GLX_EXT_buffer_age has always been advertised as supported because both client_glx_support and client_glx_only where set. So it did not matter that direct_support is only set when running dri3 and we ended up always advertising it. Fix that by not setting client_glx_only for buffer_age in known_glx_extensions. Signed-off-by: Adel Gadllah <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glx/glxextensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index ac1b4a7b02e..ce5d66d4f07 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -103,7 +103,7 @@ static const struct extension_info known_glx_extensions[] = {
{ GLX(SGIX_visual_select_group), VER(0,0), Y, Y, N, N },
{ GLX(EXT_texture_from_pixmap), VER(0,0), Y, N, N, N },
{ GLX(INTEL_swap_event), VER(0,0), Y, N, N, N },
- { GLX(EXT_buffer_age), VER(0,0), Y, N, Y, Y },
+ { GLX(EXT_buffer_age), VER(0,0), Y, N, N, Y },
{ NULL }
};