mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-19 16:11:23 +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)
|
void Unix_I_FatalError(const char* errortext)
|
||||||
{
|
{
|
||||||
// Close window or exit fullscreen and release mouse capture
|
// Close window or exit fullscreen and release mouse capture
|
||||||
SDL_Quit();
|
SDL_QuitSubSystem(SDL_INIT_VIDEO);
|
||||||
|
|
||||||
const char *str;
|
const char *str;
|
||||||
if((str=getenv("KDE_FULL_SESSION")) && strcmp(str, "true") == 0)
|
if((str=getenv("KDE_FULL_SESSION")) && strcmp(str, "true") == 0)
|
||||||
|
|
Loading…
Reference in a new issue