diff --git a/src/common/platform/posix/sdl/i_system.cpp b/src/common/platform/posix/sdl/i_system.cpp index b2f0d8436..03b96b8c3 100644 --- a/src/common/platform/posix/sdl/i_system.cpp +++ b/src/common/platform/posix/sdl/i_system.cpp @@ -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)