Correct the Mac OS X startup code

This commit is contained in:
Eric Wasylishen 2011-01-16 16:04:17 -07:00
parent 9998e06750
commit b2fe34b6b2

View file

@ -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;
}