Skip to content

Commit

Permalink
Merge pull request #171 from Rafale25/master
Browse files Browse the repository at this point in the history
Fix isinstance moderngl.Context
  • Loading branch information
einarf authored Feb 25, 2023
2 parents 5f31eeb + 0aeb254 commit 6b22059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moderngl_window/integrations/imgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(self, *args, **kwargs):
if not self.ctx:
raise ValueError("Missing moderngl context")

assert isinstance(self.ctx, moderngl.context.Context)
assert isinstance(self.ctx, moderngl.Context)

super().__init__()

Expand Down

0 comments on commit 6b22059

Please sign in to comment.