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 2017-01-25 17:58:09 -06:00 committed by James Canete
parent d85a544bf2
commit 6b514ee532
1 changed files with 1 additions and 1 deletions

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 )
{