diff --git a/code/sdl/sdl_glimp.c b/code/sdl/sdl_glimp.c index 7160d6f0..155b84be 100644 --- a/code/sdl/sdl_glimp.c +++ b/code/sdl/sdl_glimp.c @@ -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 ) {