Only require OpenGL 3.0 compatibility profile.

This commit is contained in:
Ralgor 2014-09-14 14:43:42 -05:00
commit 5cc43137a1
2 changed files with 3 additions and 3 deletions

View file

@ -117,9 +117,9 @@ void gl_LoadExtensions()
else Printf("Emulating OpenGL v %s\n", version);
// Don't even start if it's lower than 3.0
if (strcmp(version, "3.3") < 0)
if (strcmp(version, "3.0") < 0)
{
I_FatalError("Unsupported OpenGL version.\nAt least OpenGL 3.3 is required to run " GAMENAME ".\n");
I_FatalError("Unsupported OpenGL version.\nAt least OpenGL 3.0 is required to run " GAMENAME ".\n");
}
// add 0.01 to account for roundoff errors making the number a tad smaller than the actual version