exit fullscreen before quitting SDL -- gets around a rare glitch where screen resolution is stuck when you exit

This commit is contained in:
Iris Lightshard 2018-12-26 16:55:15 -08:00
parent ff46718f04
commit 1c0b1250bb
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -348,7 +348,7 @@ void timeDilation()
void cleanup()
{
if(fullscreen)
SDL_ShowCursor(1);
toggleFullscreen();
unloadData(thisChunk);