pyui
This commit is contained in:
@ -25,3 +25,5 @@ class VideoCanvas(wx.glcanvas.GLCanvas):
|
||||
wx.glcanvas.GLAttributes().PlatformDefaults().RGBA().FrameBuffersRGB().DoubleBuffer().EndList())
|
||||
self.context = wx.glcanvas.GLContext(self, ctxAttrs =
|
||||
wx.glcanvas.GLContextAttrs().CoreProfile().OGLVersion(4,6).EndList())
|
||||
if not self.context.IsOK()):
|
||||
raise RuntimeError("Failed to create GL Context")
|
||||
|
||||
Reference in New Issue
Block a user