exit fullscreen before quitting SDL -- gets around a rare glitch where screen resolution is stuck when you exit
This commit is contained in:
parent
ff46718f04
commit
1c0b1250bb
1 changed files with 1 additions and 1 deletions
2
Engine.c
2
Engine.c
|
@ -348,7 +348,7 @@ void timeDilation()
|
||||||
void cleanup()
|
void cleanup()
|
||||||
{
|
{
|
||||||
if(fullscreen)
|
if(fullscreen)
|
||||||
SDL_ShowCursor(1);
|
toggleFullscreen();
|
||||||
|
|
||||||
unloadData(thisChunk);
|
unloadData(thisChunk);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue