| 48 | } |
| 49 | |
| 50 | void BaseManager::drawOneFrame() |
| 51 | { |
| 52 | glClearColor(0, 0, 0, 1); |
| 53 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
| 54 | |
| 55 | if (mPlatform) |
| 56 | mPlatform->getRenderManagerPtr()->drawOneFrame(); |
| 57 | |
| 58 | SDL_GL_SwapWindow(mSdlWindow); |
| 59 | } |
| 60 | |
| 61 | void BaseManager::resizeRender(int _width, int _height) |
| 62 | { |
nothing calls this directly
no test coverage detected