From 8b73673071641112389928d2207fae84f7ad0d8c Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 30 Dec 2021 11:49:38 -0500 Subject: [PATCH] tests: use 24-bit color on GLCanvas since Create now asserts --- unittests/test_glcanvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/test_glcanvas.py b/unittests/test_glcanvas.py index 917d6ef6..ed142895 100644 --- a/unittests/test_glcanvas.py +++ b/unittests/test_glcanvas.py @@ -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)