Set logging type after memset of app and dev, to allow -debug to work correctly.
This commit is contained in:
parent
afd88ba8ed
commit
09ecd97f29
|
@ -30,11 +30,11 @@ int main(int argc, char *argv[])
|
|||
long expireTextTimer;
|
||||
SDL_Event event;
|
||||
|
||||
handleLoggingArgs(argc, argv);
|
||||
|
||||
memset(&app, 0, sizeof(App));
|
||||
memset(&dev, 0, sizeof(Dev));
|
||||
|
||||
handleLoggingArgs(argc, argv);
|
||||
|
||||
atexit(cleanup);
|
||||
|
||||
srand(time(NULL));
|
||||
|
|
Loading…
Reference in New Issue