Lines Matching defs:activeTexture
3075 GLint activeTexture = 0;
3086 glGetIntegerv(GL_TEXTURE_BINDING_2D, &activeTexture);
3146 glBindTexture(GL_TEXTURE_2D, activeTexture);
3538 GLint activeTexture;
3541 glGetIntegerv(GL_TEXTURE_BINDING_2D, &activeTexture);
3561 glBindTexture(GL_TEXTURE_2D, activeTexture);
3609 GLint activeTexture = 0;
3611 glGetIntegerv(GL_TEXTURE_BINDING_2D, &activeTexture);
3640 glBindTexture(GL_TEXTURE_2D, activeTexture);
3813 GLint activeTexture = 0;
3861 glGetIntegerv(GL_TEXTURE_BINDING_2D, &activeTexture);
3873 glBindTexture(GL_TEXTURE_2D, activeTexture);
7381 GLint activeTexture = 0;
7389 glGetIntegerv(GL_TEXTURE_BINDING_2D, &activeTexture);
7394 # if 0 /* Aren't we checking whether 'activeTexture' on texture unit 'i' matches what we expected? This works if only one unit is active, but if both are it _will_ fail for one of them. */
7400 AssertMsg(pTexture->oglId.texture == (GLuint)activeTexture, ("%x vs %x unit %d - %d\n", pTexture->oglId.texture, activeTexture, i, activeTextureUnit - GL_TEXTURE0));
7405 AssertMsg(pTexture->oglId.texture == (GLuint)activeTexture,
7406 ("%x vs %x unit %d (active unit %d) sid=%x\n", pTexture->oglId.texture, activeTexture, i,