diff --git a/src/cocoa_init.m b/src/cocoa_init.m index 2f08144a..25039e37 100644 --- a/src/cocoa_init.m +++ b/src/cocoa_init.m @@ -486,6 +486,9 @@ int _glfwPlatformInit(void) toTarget:_glfw.ns.helper withObject:nil]; + if (NSApp) + _glfw.ns.finishedLaunching = GLFW_TRUE; + [NSApplication sharedApplication]; _glfw.ns.delegate = [[GLFWApplicationDelegate alloc] init];