sdl2hack: Don't call SDL_Quit()

It crashes client applications that use SDL2 on their own.
This commit is contained in:
Christoph Haag 2020-11-24 20:58:06 +01:00 committed by Jakob Bornecrantz
parent 3d3361706c
commit 9873588d08

View file

@ -224,7 +224,8 @@ sdl2_close(struct sdl2_program *p)
}
if (p->sdl_initialized) {
SDL_Quit();
//! @todo: Properly quit SDL without crashing SDL client apps
// SDL_Quit();
p->sdl_initialized = false;
}
}