| 89 | } |
| 90 | |
| 91 | void SceneManager::StartGraphics() { |
| 92 | if (!mHasGraphics) { |
| 93 | LOGD("SceneManager: starting graphics."); |
| 94 | mHasGraphics = true; |
| 95 | if (mCurScene) { |
| 96 | LOGD("SceneManager: calling mCurScene->OnStartGraphics."); |
| 97 | mCurScene->OnStartGraphics(); |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | void SceneManager::SetScreenSize(int width, int height) { |
| 103 | if (mScreenWidth != width || mScreenHeight != height) { |
no test coverage detected