diff --git a/src/twn_loop.c b/src/twn_loop.c index 18a4dfc..520a6f5 100644 --- a/src/twn_loop.c +++ b/src/twn_loop.c @@ -544,6 +544,8 @@ static void clean_up(void) { toml_free(ctx.config_table); PHYSFS_deinit(); + + SDL_GL_DeleteContext(ctx.gl_context); SDL_Quit(); }