This commit is contained in:
2025-10-18 05:47:01 +02:00
parent e803956d75
commit be3b56856d
2 changed files with 5 additions and 4 deletions

View File

@ -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")