Yet another desperate trial to fix the depth buffer issues.
This commit is contained in:
parent
d281d86eee
commit
7480bcf1ae
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue