now quitting sdl-ttf correctly
parent
a5d9d5ec96
commit
4c4851546f
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue