summaryrefslogtreecommitdiff
path: root/src/gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx.c')
-rw-r--r--src/gfx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gfx.c b/src/gfx.c
index 739b876..a2d1623 100644
--- a/src/gfx.c
+++ b/src/gfx.c
@@ -190,6 +190,8 @@ void GFXInit(void)
SDL_ShowCursor(SDL_DISABLE);
SDL_WM_SetCaption("eSPEC","eSPEC");
+
+ atexit(SDL_Quit);
}