Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macOS init shouldn't used [NSApp sharedApplication].
It should either use NSApp because legacy SDLmain created it, or it should use nil (which is a no-op in Objective-C) because it didn't. Using sharedApplication will create NSApp if its nil but not set any other state, causing problems.
- Loading branch information