diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-07-22 21:50:50 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-07-23 08:21:41 +0200 |
commit | 0eab67f1e424eed939c293f0b6f4566ad94e8f95 (patch) | |
tree | 810cc6648b79814aa407d13da1ecca97fa1968d0 | |
parent | 2efaa748e8bd8f4678dd15380794ae69c84c7c53 (diff) | |
download | mana-0eab67f1e424eed939c293f0b6f4566ad94e8f95.tar.gz mana-0eab67f1e424eed939c293f0b6f4566ad94e8f95.tar.bz2 mana-0eab67f1e424eed939c293f0b6f4566ad94e8f95.tar.xz mana-0eab67f1e424eed939c293f0b6f4566ad94e8f95.zip |
Removed manual calling of glFlush / glFinish
This should never be needed [1].
[1] http://www.opengl.org/wiki/Common_Mistakes#glFinish_and_glFlush
-rw-r--r-- | src/openglgraphics.cpp | 2 |
1 files changed, 0 insertions, 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(); } |