From 6b514ee532acd9ff5bfb3819328ac6131d69e345 Mon Sep 17 00:00:00 2001 From: Wolf Date: Wed, 25 Jan 2017 17:58:09 -0600 Subject: [PATCH] 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. --- code/sdl/sdl_glimp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {