mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Fixup last commit
This commit is contained in:
parent
b2fe34b6b2
commit
8a5569043f
1 changed files with 7 additions and 1 deletions
|
@ -79,8 +79,14 @@ int main (int argc, char **argv)
|
|||
}
|
||||
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
[[SDLApplication sharedApplication] run];
|
||||
SDLApplication *app = [SDLApplication sharedApplication];
|
||||
SDLMain *delegate = [[SDLMain alloc] init];
|
||||
|
||||
[app setDelegate: delegate];
|
||||
[app run];
|
||||
|
||||
// Never reached
|
||||
[delegate release];
|
||||
[pool release];
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue