mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +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
|
static void
|
||||||
CheckBGRAExtensions (void)
|
CheckBGRAExtensions (void)
|
||||||
{
|
{
|
||||||
if (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;
|
||||||
|
|
Loading…
Reference in a new issue