mirror of
https://github.com/glfw/glfw.git
synced 2025-04-14 01:00:38 +00:00
parent
7c3aaf8065
commit
2fbb560eb7
1 changed files with 3 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue