| 79 | } |
| 80 | |
| 81 | void SceneManager::KillGraphics() { |
| 82 | if (mHasGraphics) { |
| 83 | LOGD("SceneManager: killing graphics."); |
| 84 | mHasGraphics = false; |
| 85 | if (mCurScene) { |
| 86 | mCurScene->OnKillGraphics(); |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | void SceneManager::StartGraphics() { |
| 92 | if (!mHasGraphics) { |
no test coverage detected