aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/glxextensions.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-07-04 11:58:40 -0700
committerEric Anholt <[email protected]>2012-07-12 12:29:12 -0700
commit6882381a2efbdf06b7002d11468c94b9964c2bc8 (patch)
tree05e78c7dc8cb8783d1a471ef207c9bf9a72591c1 /src/glx/glxextensions.c
parentf92873be2c7fcb07154282bd0e418a4c88b6507e (diff)
mesa: Require current libxcb.
Without that, people with buggy apps that looked at just the server string for GLX_ARB_create_context would call this function that just threw an error when you tried to make a context. Google shows plenty of complaints about this. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/glxextensions.c')
-rw-r--r--src/glx/glxextensions.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index 9ddc39d98ca..eb0890e23f1 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -71,15 +71,9 @@ struct extension_info
/* *INDENT-OFF* */
static const struct extension_info known_glx_extensions[] = {
-#ifdef HAVE_XCB_GLX_CREATE_CONTEXT
{ GLX(ARB_create_context), VER(0,0), Y, N, N, N },
{ GLX(ARB_create_context_profile), VER(0,0), Y, N, N, N },
{ GLX(ARB_create_context_robustness), VER(0,0), Y, N, N, N },
-#else
- { GLX(ARB_create_context), VER(0,0), N, N, N, N },
- { GLX(ARB_create_context_profile), VER(0,0), N, N, N, N },
- { GLX(ARB_create_context_robustness), VER(0,0), N, N, N, N },
-#endif
{ GLX(ARB_get_proc_address), VER(1,4), Y, N, Y, N },
{ GLX(ARB_multisample), VER(1,4), Y, Y, N, N },
{ GLX(ATI_pixel_format_float), VER(0,0), N, N, N, N },
@@ -87,11 +81,7 @@ static const struct extension_info known_glx_extensions[] = {
{ GLX(EXT_visual_info), VER(0,0), Y, Y, N, N },
{ GLX(EXT_visual_rating), VER(0,0), Y, Y, N, N },
{ GLX(EXT_framebuffer_sRGB), VER(0,0), Y, Y, N, N },
-#ifdef HAVE_XCB_GLX_CREATE_CONTEXT
{ GLX(EXT_create_context_es2_profile), VER(0,0), Y, N, N, Y },
-#else
- { GLX(EXT_create_context_es2_profile), VER(0,0), N, N, N, N },
-#endif
{ GLX(MESA_copy_sub_buffer), VER(0,0), Y, N, N, N },
{ GLX(MESA_multithread_makecurrent),VER(0,0), Y, N, Y, N },
{ GLX(MESA_swap_control), VER(0,0), Y, N, N, Y },