Skip to content

Commit

Permalink
Can't just remove an init lol xD
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Nov 18, 2023
1 parent 49fe2b2 commit 08b2ebc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/driver/glfw/window_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func init() {
// TestMain makes sure that our driver is running on the main thread.
// This must be done for some of our tests to function correctly.
func TestMain(m *testing.M) {
d.Init()
go func() {
// Wait for GLFW loop to be running.
// If we try to create windows before the context is created, this will fail with an exception.
Expand Down

0 comments on commit 08b2ebc

Please sign in to comment.