mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
remove testing code
This commit is contained in:
parent
257f652bb7
commit
e6d2e877f0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user