[iortcw] 22/95: All: Correct test for GL_EXT_texture_env_add support

Simon McVittie smcv at debian.org
Fri Sep 8 10:41:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to tag 1.51
in repository iortcw.

commit 83af015b3e79b423a72bca263e53a7baed48627b
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Thu Jan 26 03:35:43 2017 -0500

    All: Correct test for GL_EXT_texture_env_add support
---
 MP/code/sdl/sdl_glimp.c | 2 +-
 SP/code/sdl/sdl_glimp.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/sdl/sdl_glimp.c b/MP/code/sdl/sdl_glimp.c
index 5c09988..cc19043 100644
--- a/MP/code/sdl/sdl_glimp.c
+++ b/MP/code/sdl/sdl_glimp.c
@@ -682,7 +682,7 @@ static void GLimp_InitExtensions( void )
 	ri.Printf( PRINT_ALL, "...using GL_EXT_texture_env_add\n" );
 #else
 	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 )
 		{
diff --git a/SP/code/sdl/sdl_glimp.c b/SP/code/sdl/sdl_glimp.c
index 5c09988..cc19043 100644
--- a/SP/code/sdl/sdl_glimp.c
+++ b/SP/code/sdl/sdl_glimp.c
@@ -682,7 +682,7 @@ static void GLimp_InitExtensions( void )
 	ri.Printf( PRINT_ALL, "...using GL_EXT_texture_env_add\n" );
 #else
 	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/iortcw.git



More information about the Pkg-games-commits mailing list