summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeviance <q750d5@gmail.com>2014-05-06 00:01:08 +0300
committerDeviance <q750d5@gmail.com>2014-05-06 00:01:08 +0300
commit716c1ae022979184e7a52d59b5a9333199cfa0bc (patch)
treecb797db8710ba2122776500ce9e3583378016a35
parent197d4e2f8e5b4bfee5d3d128d5ebf0007bb2ebd2 (diff)
fix z-buffer issues on x11/mesa
-rw-r--r--platform/x11/context_gl_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/context_gl_x11.cpp b/platform/x11/context_gl_x11.cpp
index be4061fb93..b56b54822e 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
};