mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 15:58:04 -05:00
Call CommonQuit() at exit has been added.
This commit is contained in:
parent
2b98843157
commit
0083177b43
|
|
@ -272,6 +272,8 @@ main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
CommonQuit(state);
|
||||
|
||||
/* Print out some timing information */
|
||||
now = SDL_GetTicks();
|
||||
if (now > then) {
|
||||
|
|
|
|||
|
|
@ -349,6 +349,8 @@ main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
CommonQuit(state);
|
||||
|
||||
/* Print out some timing information */
|
||||
now = SDL_GetTicks();
|
||||
if (now > then) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user