| 7 | |
| 8 | |
| 9 | ModeSelectorContext::ModeSelectorContext(ModeSelectorCanvas *canvas, wxGLContext *sharedContext, wxGLContextAttrs *ctxAttrs) : |
| 10 | PrimaryGLContext(canvas, sharedContext, ctxAttrs) { |
| 11 | glDisable(GL_CULL_FACE); |
| 12 | glDisable(GL_DEPTH_TEST); |
| 13 | |
| 14 | glMatrixMode(GL_PROJECTION); |
| 15 | glLoadIdentity(); |
| 16 | } |
| 17 | |
| 18 | void ModeSelectorContext::DrawBegin() { |
| 19 | glClearColor(ThemeMgr::mgr.currentTheme->generalBackground.r, ThemeMgr::mgr.currentTheme->generalBackground.g, ThemeMgr::mgr.currentTheme->generalBackground.b,1.0); |
nothing calls this directly
no outgoing calls
no test coverage detected