From e6d2e877f00abf11a99882e06b81f1f879f6dbc1 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Sat, 2 Jun 2012 16:16:50 -0300 Subject: [PATCH] remove testing code --- src/framework/application.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/framework/application.cpp b/src/framework/application.cpp index c9f3f3f8..85d09ee5 100644 --- a/src/framework/application.cpp +++ b/src/framework/application.cpp @@ -201,9 +201,6 @@ void Application::run() if(redraw) { g_graphics.beginRender(); - glClearColor(0,0,0,0); - glClear(GL_COLOR_BUFFER_BIT); - Rect viewportRect(0, 0, g_graphics.getViewportSize()); // draw the foreground into a texture @@ -217,9 +214,6 @@ void Application::run() m_foreground->copyFromScreen(viewportRect); } - glClearColor(0,0,0,0); - glClear(GL_COLOR_BUFFER_BIT); - // draw background (animated stuff) m_backgroundFrameCounter.processNextFrame(); g_ui.render(false);