From 87a4ff5235e912305500bebec999865120bfcb06 Mon Sep 17 00:00:00 2001 From: Daid Date: Mon, 24 Jun 2013 13:21:10 +0200 Subject: [PATCH] Ask for a 24bit depth buffer, this gives better performance on Mac. --- Cura/gui/util/openglGui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/gui/util/openglGui.py b/Cura/gui/util/openglGui.py index 764c88a5..7d611e9d 100644 --- a/Cura/gui/util/openglGui.py +++ b/Cura/gui/util/openglGui.py @@ -125,7 +125,7 @@ class glGuiContainer(glGuiControl): class glGuiPanel(glcanvas.GLCanvas): def __init__(self, parent): - attribList = (glcanvas.WX_GL_RGBA, glcanvas.WX_GL_DOUBLEBUFFER, glcanvas.WX_GL_DEPTH_SIZE, 32, glcanvas.WX_GL_STENCIL_SIZE, 8, 0) + attribList = (glcanvas.WX_GL_RGBA, glcanvas.WX_GL_DOUBLEBUFFER, glcanvas.WX_GL_DEPTH_SIZE, 24, glcanvas.WX_GL_STENCIL_SIZE, 8, 0) glcanvas.GLCanvas.__init__(self, parent, style=wx.WANTS_CHARS, attribList = attribList) self._base = self self._focus = None -- 2.30.2