summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 0ebacc08..37e37a79 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -36,7 +36,7 @@ Graphics::Graphics():
if (useOpenGL) {
// Setup OpenGL
glViewport(0, 0, 800, 600);
- glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
+ glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);
int gotDoubleBuffer;
SDL_GL_GetAttribute(SDL_GL_DOUBLEBUFFER, &gotDoubleBuffer);
logger->log("Using OpenGL %s double buffering.",