| 174 | } |
| 175 | |
| 176 | void GFXTextureManager::resurrect() |
| 177 | { |
| 178 | // Reupload all the device copies of the textures. |
| 179 | GFXTextureObject *temp = mListHead; |
| 180 | |
| 181 | while( temp != NULL ) |
| 182 | { |
| 183 | refreshTexture( temp ); |
| 184 | temp = temp->mNext; |
| 185 | } |
| 186 | |
| 187 | // Notify callback registries. |
| 188 | smEventSignal.trigger( GFXResurrect ); |
| 189 | |
| 190 | // Update our state. |
| 191 | mTextureManagerState = GFXTextureManager::Living; |
| 192 | } |
| 193 | |
| 194 | void GFXTextureManager::cleanupPool() |
| 195 | { |
no test coverage detected