MCPcopy Create free account
hub / github.com/MyGUI/mygui / drawOneFrame

Method drawOneFrame

Common/Base/OpenGL/BaseManager.cpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

getRenderManagerPtrMethod · 0.45

Tested by

no test coverage detected