glfwCreateWindow crashes in separate thread which also called glfwInit

On macOS you cannot do this from thread. Read this comment: Multithreading GLFW? - #5 by elmindreda

So you need to do window creation and event processing on main thread.

2 Likes