From 716c1ae022979184e7a52d59b5a9333199cfa0bc Mon Sep 17 00:00:00 2001 From: Deviance Date: Tue, 6 May 2014 00:01:08 +0300 Subject: [PATCH] fix z-buffer issues on x11/mesa --- platform/x11/context_gl_x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/context_gl_x11.cpp b/platform/x11/context_gl_x11.cpp index be4061fb931..b56b54822e2 100644 --- a/platform/x11/context_gl_x11.cpp +++ b/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 };