diff --git a/glfw/cocoa_init.m b/glfw/cocoa_init.m index c748e06be..a35f182d3 100644 --- a/glfw/cocoa_init.m +++ b/glfw/cocoa_init.m @@ -565,6 +565,9 @@ int _glfwPlatformInit(void) toTarget:_glfw.ns.helper withObject:nil]; + if (NSApp) + _glfw.ns.finishedLaunching = true; + [GLFWApplication sharedApplication]; _glfw.ns.delegate = [[GLFWApplicationDelegate alloc] init];