aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer/tr_backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/renderer/tr_backend.c')
-rw-r--r--code/renderer/tr_backend.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/code/renderer/tr_backend.c b/code/renderer/tr_backend.c
index cc1a55a..2061dd8 100644
--- a/code/renderer/tr_backend.c
+++ b/code/renderer/tr_backend.c
@@ -71,17 +71,17 @@ void GL_SelectTexture( int unit )
if ( unit == 0 )
{
- qglActiveTexture( GL_TEXTURE0 );
- GLimp_LogComment( "glActiveTexture( GL_TEXTURE0 )\n" );
- qglClientActiveTexture( GL_TEXTURE0 );
- GLimp_LogComment( "glClientActiveTexture( GL_TEXTURE0 )\n" );
+ qglActiveTextureARB( GL_TEXTURE0_ARB );
+ GLimp_LogComment( "glActiveTextureARB( GL_TEXTURE0_ARB )\n" );
+ qglClientActiveTextureARB( GL_TEXTURE0_ARB );
+ GLimp_LogComment( "glClientActiveTextureARB( GL_TEXTURE0_ARB )\n" );
}
else if ( unit == 1 )
{
- qglActiveTexture( GL_TEXTURE1 );
- GLimp_LogComment( "glActiveTexture( GL_TEXTURE1 )\n" );
- qglClientActiveTexture( GL_TEXTURE1 );
- GLimp_LogComment( "glClientActiveTexture( GL_TEXTURE1 )\n" );
+ qglActiveTextureARB( GL_TEXTURE1_ARB );
+ GLimp_LogComment( "glActiveTextureARB( GL_TEXTURE1_ARB )\n" );
+ qglClientActiveTextureARB( GL_TEXTURE1_ARB );
+ GLimp_LogComment( "glClientActiveTextureARB( GL_TEXTURE1_ARB )\n" );
} else {
ri.Error( ERR_DROP, "GL_SelectTexture: unit = %i", unit );
}