From 21bf71e65cc478cae862b680f305ad4e9a92df12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 5 May 2010 22:19:41 +0300 Subject: [PATCH] GLX: ignore version 1.3 and fallback to 1.2 until it works --- modules/video_output/xcb/glx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/video_output/xcb/glx.c b/modules/video_output/xcb/glx.c index 2d4b4dc3ba..73a03af9e1 100644 --- a/modules/video_output/xcb/glx.c +++ b/modules/video_output/xcb/glx.c @@ -167,7 +167,11 @@ static bool CheckGLX (vout_display_t *vd, Display *dpy, bool *restrict pv13) { msg_Dbg (vd, "using GLX extension version %d.%d", major, minor); ok = true; +#ifdef IT_WORKS *pv13 = minor >= 3; +#else + *pv13 = false; +#endif } return ok; } -- 2.11.4.GIT