mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
sdl2hack: Don't call SDL_Quit()
It crashes client applications that use SDL2 on their own.
This commit is contained in:
parent
3d3361706c
commit
9873588d08
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue