* Remove use of GL_ARB_multitexture since this has been part of the

core API for many years now
This commit is contained in:
Tim Angus 2007-09-10 22:28:58 +00:00
parent d6f32df425
commit 4f4f0c0dab
9 changed files with 42 additions and 84 deletions

View file

@ -71,17 +71,17 @@ void GL_SelectTexture( int unit )
if ( unit == 0 )
{
qglActiveTextureARB( GL_TEXTURE0_ARB );
GLimp_LogComment( "glActiveTextureARB( GL_TEXTURE0_ARB )\n" );
qglClientActiveTextureARB( GL_TEXTURE0_ARB );
GLimp_LogComment( "glClientActiveTextureARB( GL_TEXTURE0_ARB )\n" );
qglActiveTexture( GL_TEXTURE0 );
GLimp_LogComment( "glActiveTexture( GL_TEXTURE0 )\n" );
qglClientActiveTexture( GL_TEXTURE0 );
GLimp_LogComment( "glClientActiveTexture( GL_TEXTURE0 )\n" );
}
else if ( unit == 1 )
{
qglActiveTextureARB( GL_TEXTURE1_ARB );
GLimp_LogComment( "glActiveTextureARB( GL_TEXTURE1_ARB )\n" );
qglClientActiveTextureARB( GL_TEXTURE1_ARB );
GLimp_LogComment( "glClientActiveTextureARB( GL_TEXTURE1_ARB )\n" );
qglActiveTexture( GL_TEXTURE1 );
GLimp_LogComment( "glActiveTexture( GL_TEXTURE1 )\n" );
qglClientActiveTexture( GL_TEXTURE1 );
GLimp_LogComment( "glClientActiveTexture( GL_TEXTURE1 )\n" );
} else {
ri.Error( ERR_DROP, "GL_SelectTexture: unit = %i", unit );
}