Lines Matching refs:tmu
26 if( gls.texnum[gls.tmu] == texnum ) { in GL_BindTexture()
32 gls.texnum[gls.tmu] = texnum; in GL_BindTexture()
35 void GL_SelectTMU( int tmu ) { in GL_SelectTMU() argument
36 if( gls.tmu == tmu ) { in GL_SelectTMU()
40 if( tmu < 0 || tmu >= gl_static.numTextureUnits ) { in GL_SelectTMU()
41 Com_Error( ERR_FATAL, "GL_SelectTMU: bad tmu %d", tmu ); in GL_SelectTMU()
44 qglActiveTextureARB( GL_TEXTURE0_ARB + tmu ); in GL_SelectTMU()
45 qglClientActiveTextureARB( GL_TEXTURE0_ARB + tmu ); in GL_SelectTMU()
47 gls.tmu = tmu; in GL_SelectTMU()
51 if( gls.texenv[gls.tmu] == texenv ) { in GL_TexEnv()
73 gls.texenv[gls.tmu] = texenv; in GL_TexEnv()