twn_loop.c: delete gl context on cleanup, some implementations triggered leak detector otherwise

This commit is contained in:
veclav talica 2024-10-01 18:21:27 +03:00
parent ad0438849e
commit 900a0a7506

View File

@ -544,6 +544,8 @@ static void clean_up(void) {
toml_free(ctx.config_table);
PHYSFS_deinit();
SDL_GL_DeleteContext(ctx.gl_context);
SDL_Quit();
}