Correct test for GL_EXT_texture_env_add support

The test string is missing the initial "GL_" so it is always failing the test even when supported on newer hardware.
This commit is contained in:
Wolf authored and James Canete committed 2017-01-26 00:14:31 -08:00
1 parent d85a544bf2
commit 6b514ee532
1 file changed
+1 -1
+1 -1
View File
@@ -627,7 +627,7 @@ static void GLimp_InitExtensions( void )
// GL_EXT_texture_env_add
glConfig.textureEnvAddAvailable = qfalse;
if ( SDL_GL_ExtensionSupported( "EXT_texture_env_add" ) )
if ( SDL_GL_ExtensionSupported( "GL_EXT_texture_env_add" ) )
{
if ( r_ext_texture_env_add->integer )
{