From 4c4851546fcbad6ed70668a89d1c8eba8aa26fd1 Mon Sep 17 00:00:00 2001 From: Sara Date: Fri, 21 Apr 2023 00:25:28 +0200 Subject: [PATCH] now quitting sdl-ttf correctly --- src/corelib/context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/context.c b/src/corelib/context.c index 9108fa8..a8b84bc 100644 --- a/src/corelib/context.c +++ b/src/corelib/context.c @@ -30,6 +30,7 @@ void init_context() { void close_context() { SDL_DestroyRenderer(g_context.renderer); SDL_DestroyWindow(g_context.window); + TTF_Quit(); IMG_Quit(); SDL_Quit(); }