Browse Source

fix z-buffer issues on x11/mesa

Deviance 11 years ago
parent
commit
716c1ae022
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_GREEN_SIZE, 1,
 	    GLX_BLUE_SIZE, 1,
-	    GLX_DEPTH_SIZE,0,
+	    GLX_DEPTH_SIZE, 24,
 	    None 
 	};