Yet another desperate trial to fix the depth buffer issues.

This commit is contained in:
Maciej Suminski 2015-04-17 12:15:25 +02:00
parent d281d86eee
commit 7480bcf1ae
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ using namespace KIGFX;
// Prototypes // Prototypes
void InitTesselatorCallbacks( GLUtesselator* aTesselator ); 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; wxGLContext* OPENGL_GAL::glContext = NULL;