mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 07:12:36 +00:00
- add SDL hint to not minimize the window on focus loss
This commit is contained in:
parent
4db7a20f7a
commit
312b5ce66e
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ void I_InitGraphics ()
|
|||
#ifdef __APPLE__
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES, "0");
|
||||
#endif // __APPLE__
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
||||
|
||||
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue