mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-03 21:26:36 +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) {
|
if (p->sdl_initialized) {
|
||||||
SDL_Quit();
|
//! @todo: Properly quit SDL without crashing SDL client apps
|
||||||
|
// SDL_Quit();
|
||||||
p->sdl_initialized = false;
|
p->sdl_initialized = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue