twn_loop.c: delete gl context on cleanup, some implementations triggered leak detector otherwise
This commit is contained in:
parent
ad0438849e
commit
900a0a7506
@ -544,6 +544,8 @@ static void clean_up(void) {
|
|||||||
|
|
||||||
toml_free(ctx.config_table);
|
toml_free(ctx.config_table);
|
||||||
PHYSFS_deinit();
|
PHYSFS_deinit();
|
||||||
|
|
||||||
|
SDL_GL_DeleteContext(ctx.gl_context);
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user