Browse Source

Merge pull request #371 from SystemFail/master

fix z-buffer issues on x11/mesa
reduz 11 years ago
parent
commit
e27bc784dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/x11/context_gl_x11.cpp

+ 1 - 1
platform/x11/context_gl_x11.cpp

@@ -92,7 +92,7 @@ Error ContextGL_X11::initialize() {
 	    GLX_RED_SIZE, 1,
 	    GLX_RED_SIZE, 1,
 	    GLX_GREEN_SIZE, 1,
 	    GLX_GREEN_SIZE, 1,
 	    GLX_BLUE_SIZE, 1,
 	    GLX_BLUE_SIZE, 1,
-	    GLX_DEPTH_SIZE,0,
+	    GLX_DEPTH_SIZE, 24,
 	    None 
 	    None 
 	};
 	};