mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-30 16:01:49 +00:00
- fixed crash after fatal error in SDL backend
https://forum.zdoom.org/viewtopic.php?t=72885
This commit is contained in:
parent
b5247182f4
commit
7a3d8bd0e5
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ void Mac_I_FatalError(const char* errortext);
|
|||
void Unix_I_FatalError(const char* errortext)
|
||||
{
|
||||
// Close window or exit fullscreen and release mouse capture
|
||||
SDL_Quit();
|
||||
SDL_QuitSubSystem(SDL_INIT_VIDEO);
|
||||
|
||||
const char *str;
|
||||
if((str=getenv("KDE_FULL_SESSION")) && strcmp(str, "true") == 0)
|
||||
|
|
Loading…
Reference in a new issue