mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
tests: use 24-bit color on GLCanvas since Create now asserts
This commit is contained in:
@@ -34,7 +34,7 @@ class glcanvas_Tests(wtc.WidgetTestCase):
|
|||||||
|
|
||||||
|
|
||||||
def test_glcanvas3(self):
|
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,
|
wx.glcanvas.WX_GL_DOUBLEBUFFER,
|
||||||
0]
|
0]
|
||||||
cvs = wx.glcanvas.GLCanvas(self.frame, attribList=attribs)
|
cvs = wx.glcanvas.GLCanvas(self.frame, attribList=attribs)
|
||||||
|
|||||||
Reference in New Issue
Block a user