Skip to content

Commit

Permalink
Attempt to fix opengl again
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlegiantJGC committed Feb 23, 2021
1 parent ac15a23 commit 0ae6ffc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions amulet_map_editor/api/opengl/canvas/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ def __init__(self, parent: wx.Window):
self._context = glcanvas.GLContext(self)
else:
context_attributes = wx.glcanvas.GLContextAttrs()
context_attributes.CoreProfile().OGLVersion(
2, 1
).Robust().ResetIsolation().EndList()
context_attributes.CoreProfile().Robust().ResetIsolation().EndList()
self._context = glcanvas.GLContext(
self, ctxAttrs=context_attributes
) # setup the OpenGL context
Expand Down

0 comments on commit 0ae6ffc

Please sign in to comment.