| 227 | } |
| 228 | |
| 229 | bool GLES2StateCacheManager::activateGLTextureUnit(size_t unit) |
| 230 | { |
| 231 | #ifdef OGRE_ENABLE_STATE_CACHE |
| 232 | if (mActiveTextureUnit == unit) |
| 233 | return true; |
| 234 | #endif |
| 235 | |
| 236 | OGRE_CHECK_GL_ERROR(glActiveTexture(GL_TEXTURE0 + unit)); |
| 237 | mActiveTextureUnit = unit; |
| 238 | return true; |
| 239 | } |
| 240 | |
| 241 | void GLES2StateCacheManager::setBlendFunc(GLenum source, GLenum dest, GLenum sourceA, GLenum destA) |
| 242 | { |
no outgoing calls
no test coverage detected