| 10 | } |
| 11 | |
| 12 | void MeterContext::DrawBegin() { |
| 13 | glDisable(GL_CULL_FACE); |
| 14 | glDisable(GL_DEPTH_TEST); |
| 15 | |
| 16 | glClearColor(ThemeMgr::mgr.currentTheme->generalBackground.r, ThemeMgr::mgr.currentTheme->generalBackground.g, ThemeMgr::mgr.currentTheme->generalBackground.b, 1.0); |
| 17 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
| 18 | |
| 19 | glMatrixMode(GL_MODELVIEW); |
| 20 | glLoadIdentity(); |
| 21 | |
| 22 | glDisable(GL_TEXTURE_2D); |
| 23 | } |
| 24 | |
| 25 | void MeterContext::Draw(float r, float g, float b, float a, float level) { |
| 26 | glEnable(GL_BLEND); |
nothing calls this directly
no outgoing calls
no test coverage detected