Skip to content

Commit

Permalink
Merge pull request #1096 from jvbsl/fix/multithreading-context
Browse files Browse the repository at this point in the history
Free context after loading of GL bindings
  • Loading branch information
frederikja163 committed Jul 21, 2020
2 parents 060ccad + 1515a02 commit 77f711a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OpenToolkit.Windowing.Desktop/NativeWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,8 @@ public unsafe NativeWindow(NativeWindowSettings settings)
{
InitializeGlBindings();
}

GLFW.MakeContextCurrent(null);
}

// Enables the caps lock modifier to be detected and updated
Expand Down

0 comments on commit 77f711a

Please sign in to comment.