Fix a GL version check snafu.

Thanks to MH (on inside3d.com) for pointing this out to me.
This commit is contained in:
Bill Currie 2011-12-16 09:43:22 +09:00
parent e67690a1a9
commit 5cd1f6f5cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;