[ioquake3] 18/25: Correct test for GL_EXT_texture_env_add support
Simon McVittie
smcv at debian.org
Sun Mar 12 18:23:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository ioquake3.
commit 6b514ee532acd9ff5bfb3819328ac6131d69e345
Author: Wolf <wolfwings at wolfwings.us>
Date: Wed Jan 25 17:58:09 2017 -0600
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 7160d6f..155b84b 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 )
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list