From 1c0b1250bb1f22614357f3047c0ef05b3f8f0e20 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Wed, 26 Dec 2018 16:55:15 -0800 Subject: [PATCH] exit fullscreen before quitting SDL -- gets around a rare glitch where screen resolution is stuck when you exit --- Engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine.c b/Engine.c index 75365f6..201fba7 100644 --- a/Engine.c +++ b/Engine.c @@ -348,7 +348,7 @@ void timeDilation() void cleanup() { if(fullscreen) - SDL_ShowCursor(1); + toggleFullscreen(); unloadData(thisChunk);