Fix the gl test... again :/

Actually, it probably doesn't make any difference, but making it look
right is still important.
This commit is contained in:
Bill Currie 2012-02-01 13:01:24 +09:00
parent 706f09b247
commit a131a7ab9d

View file

@ -377,7 +377,7 @@ CheckAnisotropyExtensions (void)
static void static void
CheckBGRAExtensions (void) CheckBGRAExtensions (void)
{ {
if (gl_major > 1 || (gl_major >= 1 && gl_minor >= 3)) { if (gl_major > 1 || (gl_major == 1 && gl_minor >= 3)) {
gl_bgra_capable = true; gl_bgra_capable = true;
} else if (QFGL_ExtensionPresent ("GL_EXT_bgra")) { } else if (QFGL_ExtensionPresent ("GL_EXT_bgra")) {
gl_bgra_capable = true; gl_bgra_capable = true;