mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-23 03:41:03 +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
c272315ca3
commit
818302e02f
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,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