tests: use 24-bit color on GLCanvas since Create now asserts

This commit is contained in:
Scott Talbert
2021-12-30 11:49:38 -05:00
parent 970fae9978
commit 8b73673071

View File

@@ -34,7 +34,7 @@ class glcanvas_Tests(wtc.WidgetTestCase):
def test_glcanvas3(self):
attribs = [wx.glcanvas.WX_GL_DEPTH_SIZE, 32,
attribs = [wx.glcanvas.WX_GL_DEPTH_SIZE, 24,
wx.glcanvas.WX_GL_DOUBLEBUFFER,
0]
cvs = wx.glcanvas.GLCanvas(self.frame, attribList=attribs)