mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 04:01:31 +00:00
- add SDL hint to not minimize the window on focus loss
This commit is contained in:
parent
d853961a83
commit
0bf211b3e6
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