now quitting sdl-ttf correctly

pull/1/head
Sara 2023-04-21 00:25:28 +02:00
parent a5d9d5ec96
commit 4c4851546f
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ void init_context() {
void close_context() { void close_context() {
SDL_DestroyRenderer(g_context.renderer); SDL_DestroyRenderer(g_context.renderer);
SDL_DestroyWindow(g_context.window); SDL_DestroyWindow(g_context.window);
TTF_Quit();
IMG_Quit(); IMG_Quit();
SDL_Quit(); SDL_Quit();
} }