From 1c213b915b963c24555a83f1a8c476f62b2cb931 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 28 Feb 2010 00:24:33 +0100 Subject: Changed depth size to 24. --- application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3