- Bind2dTexture( texture );
- }
- }
-
- /**
- * Wrapper for OpenGL ES 2.0 glBindTexture(GL_TEXTURE_2D)
- */
- void Bind2dTexture( GLuint texture )
- {
- if (mBound2dTextureId[ mActiveTextureUnit ] != texture)
- {
- mBound2dTextureId[ mActiveTextureUnit ] = texture;
-
- LOG_GL("BindTexture GL_TEXTURE_2D %d\n", texture);
- CHECK_GL( mGlAbstraction, mGlAbstraction.BindTexture(GL_TEXTURE_2D, texture) );