From 5cd1f6f5cf80843f59c0524867f221d2cfeb9a1c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 16 Dec 2011 09:43:22 +0900 Subject: [PATCH] Fix a GL version check snafu. Thanks to MH (on inside3d.com) for pointing this out to me. --- libs/video/targets/vid_common_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/targets/vid_common_gl.c b/libs/video/targets/vid_common_gl.c index 4787fc6f7..9fcb6d90e 100644 --- a/libs/video/targets/vid_common_gl.c +++ b/libs/video/targets/vid_common_gl.c @@ -377,7 +377,7 @@ CheckAnisotropyExtensions (void) static void CheckBGRAExtensions (void) { - if (gl_major >= 1 && gl_minor >= 3) { + if (gl_major > 1 || (gl_major >= 1 && gl_minor >= 3)) { gl_bgra_capable = true; } else if (QFGL_ExtensionPresent ("GL_EXT_bgra")) { gl_bgra_capable = true;