twn_loop.c: quit subsystems
This commit is contained in:
parent
8c248cb3fb
commit
85d7d54eed
@ -731,6 +731,9 @@ static void clean_up(void) {
|
||||
SDL_free(ctx.title);
|
||||
SDL_GL_DeleteContext(ctx.gl_context);
|
||||
SDL_GL_UnloadLibrary();
|
||||
SDL_QuitSubSystem(SDL_INIT_EVENTS);
|
||||
if (ctx.audio_initialized)
|
||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||
SDL_Quit();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user