Call CommonQuit() at exit has been added.

This commit is contained in:
Mike Gorchak 2009-10-10 13:22:05 +00:00
parent 2b98843157
commit 0083177b43
2 changed files with 4 additions and 0 deletions

View File

@ -272,6 +272,8 @@ main(int argc, char *argv[])
}
}
CommonQuit(state);
/* Print out some timing information */
now = SDL_GetTicks();
if (now > then) {

View File

@ -349,6 +349,8 @@ main(int argc, char *argv[])
}
}
CommonQuit(state);
/* Print out some timing information */
now = SDL_GetTicks();
if (now > then) {