mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-13 07:21:31 +00:00
Correct the Mac OS X startup code
This commit is contained in:
parent
9998e06750
commit
b2fe34b6b2
1 changed files with 4 additions and 2 deletions
|
@ -78,7 +78,9 @@ int main (int argc, char **argv)
|
|||
gFinderLaunch = NO;
|
||||
}
|
||||
|
||||
[SDLApplication poseAsClass:[NSApplication class]];
|
||||
NSApplicationMain (argc, argv);
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
[[SDLApplication sharedApplication] run];
|
||||
|
||||
[pool release];
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue