[vlc-commits] commit: GLX: ignore version 1.3 and fallback to 1.2 until it works ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Wed May 5 21:20:19 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 5 22:19:41 2010 +0300| [21bf71e65cc478cae862b680f305ad4e9a92df12] | committer: Rémi Denis-Courmont
GLX: ignore version 1.3 and fallback to 1.2 until it works
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=21bf71e65cc478cae862b680f305ad4e9a92df12
---
modules/video_output/xcb/glx.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/xcb/glx.c b/modules/video_output/xcb/glx.c
index 2d4b4dc..73a03af 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;
}
More information about the vlc-commits
mailing list