remove testing code

This commit is contained in:
Eduardo Bart 2012-06-02 16:16:50 -03:00
parent 257f652bb7
commit e6d2e877f0
1 changed files with 0 additions and 6 deletions

View File

@ -201,9 +201,6 @@ void Application::run()
if(redraw) { if(redraw) {
g_graphics.beginRender(); g_graphics.beginRender();
glClearColor(0,0,0,0);
glClear(GL_COLOR_BUFFER_BIT);
Rect viewportRect(0, 0, g_graphics.getViewportSize()); Rect viewportRect(0, 0, g_graphics.getViewportSize());
// draw the foreground into a texture // draw the foreground into a texture
@ -217,9 +214,6 @@ void Application::run()
m_foreground->copyFromScreen(viewportRect); m_foreground->copyFromScreen(viewportRect);
} }
glClearColor(0,0,0,0);
glClear(GL_COLOR_BUFFER_BIT);
// draw background (animated stuff) // draw background (animated stuff)
m_backgroundFrameCounter.processNextFrame(); m_backgroundFrameCounter.processNextFrame();
g_ui.render(false); g_ui.render(false);