mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 08:31:14 +00:00
- put SDL_Quit into the atexit queue instead of atterm
System exit procedures should not go in there.
This commit is contained in:
parent
12440bbca3
commit
eae593b1f5
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ int main (int argc, char **argv)
|
|||
fprintf (stderr, "Could not initialize SDL:\n%s\n", SDL_GetError());
|
||||
return -1;
|
||||
}
|
||||
atterm (SDL_Quit);
|
||||
atexit (SDL_Quit); // This one should NOT be in the engine's list of exit handlers!
|
||||
|
||||
printf("\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue