Skip to content

Commit

Permalink
Reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlegiantJGC committed May 28, 2024
1 parent cd8be1f commit d6eb954
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions amulet_map_editor/api/opengl/canvas/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,20 @@ def __init__(self, parent: wx.Window):
context_constructors = [
lambda: GLContext(
self,
ctxAttrs=GLContextAttrs().PlatformDefaults().OGLVersion(3, 3).CoreProfile().EndList()
ctxAttrs=GLContextAttrs()
.PlatformDefaults()
.OGLVersion(3, 3)
.CoreProfile()
.EndList(),
),
lambda: GLContext(
self,
ctxAttrs=GLContextAttrs().PlatformDefaults().OGLVersion(2, 1).CompatibilityProfile().EndList()
)
ctxAttrs=GLContextAttrs()
.PlatformDefaults()
.OGLVersion(2, 1)
.CompatibilityProfile()
.EndList(),
),
]

for constructor in context_constructors:
Expand Down

0 comments on commit d6eb954

Please sign in to comment.