From 7480bcf1ae1ba85fcf49e743deeaa4907a0fe60a Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 17 Apr 2015 12:15:25 +0200 Subject: [PATCH] Yet another desperate trial to fix the depth buffer issues. --- common/gal/opengl/opengl_gal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/gal/opengl/opengl_gal.cpp b/common/gal/opengl/opengl_gal.cpp index 48eb53c665..09a9cc1046 100644 --- a/common/gal/opengl/opengl_gal.cpp +++ b/common/gal/opengl/opengl_gal.cpp @@ -42,7 +42,7 @@ using namespace KIGFX; // Prototypes void InitTesselatorCallbacks( GLUtesselator* aTesselator ); -const int glAttributes[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 24, 0 }; +const int glAttributes[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 16, 0 }; wxGLContext* OPENGL_GAL::glContext = NULL;