| 31 | } |
| 32 | |
| 33 | void TuningContext::DrawBegin() { |
| 34 | glClearColor(ThemeMgr::mgr.currentTheme->generalBackground.r, ThemeMgr::mgr.currentTheme->generalBackground.g, |
| 35 | ThemeMgr::mgr.currentTheme->generalBackground.b, 1.0); |
| 36 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
| 37 | |
| 38 | glMatrixMode(GL_MODELVIEW); |
| 39 | glLoadIdentity(); |
| 40 | |
| 41 | glDisable(GL_TEXTURE_2D); |
| 42 | } |
| 43 | |
| 44 | void TuningContext::Draw(float r, float g, float b, float a, float p1, float p2) { |
| 45 | glEnable(GL_BLEND); |
nothing calls this directly
no outgoing calls
no test coverage detected