summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);