From 0eab67f1e424eed939c293f0b6f4566ad94e8f95 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 22 Jul 2012 21:50:50 +0200 Subject: Removed manual calling of glFlush / glFinish This should never be needed [1]. [1] http://www.opengl.org/wiki/Common_Mistakes#glFinish_and_glFlush --- src/openglgraphics.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index e0092f9e..530b40b0 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -617,8 +617,6 @@ void OpenGLGraphics::drawRescaledImagePattern(Image *image, void OpenGLGraphics::updateScreen() { - glFlush(); - glFinish(); SDL_GL_SwapBuffers(); } -- cgit v1.2.3-70-g09d2