mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Fix a GL version check snafu.
Thanks to MH (on inside3d.com) for pointing this out to me.
This commit is contained in:
parent
e67690a1a9
commit
5cd1f6f5cf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue