summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-02-28 00:24:33 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-02-28 00:24:33 +0100
commit1c213b915b963c24555a83f1a8c476f62b2cb931 (patch)
tree40ca39cee38babf298d3cb901f2307ae0beb64f9
parent57d953100cc5db0be34d345f335dc8190f9028f8 (diff)
Changed depth size to 24.
-rw-r--r--application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application.cpp b/application.cpp
index a77577a..c05f30a 100644
--- a/application.cpp
+++ b/application.cpp
@@ -61,7 +61,7 @@ Application::Application() {
// Setup double buffering
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
- SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 32);
+ SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
// Get our surface
surface = SDL_SetVideoMode(xsize, ysize, 32, flags);