| 259 | } |
| 260 | |
| 261 | bool GLStateCacheManager::activateGLTextureUnit(size_t unit) |
| 262 | { |
| 263 | #ifdef OGRE_ENABLE_STATE_CACHE |
| 264 | if (mActiveTextureUnit == unit) |
| 265 | return true; |
| 266 | #endif |
| 267 | |
| 268 | glActiveTexture(GL_TEXTURE0 + unit); |
| 269 | mActiveTextureUnit = unit; |
| 270 | return true; |
| 271 | } |
| 272 | |
| 273 | void GLStateCacheManager::setBlendFunc(GLenum source, GLenum dest, GLenum sourceA, GLenum destA) |
| 274 | { |
no outgoing calls
no test coverage detected