- backported some fixes in the common backend from GZDoom

This commit is contained in:
Christoph Oelckers 2021-08-03 13:00:09 +02:00
parent 17b2154e9a
commit 888f8888bb
3 changed files with 4 additions and 4 deletions

View file

@ -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)