Set logging type after memset of app and dev, to allow -debug to work correctly.

This commit is contained in:
Steve 2016-05-10 10:00:42 +01:00
parent afd88ba8ed
commit 09ecd97f29
1 changed files with 2 additions and 2 deletions

View File

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