- disabled annoying macOS spaces in SDL backend
This commit is contained in:
parent
c30505d02a
commit
6e4c0fc416
1 changed files with 4 additions and 0 deletions
|
|
@ -69,6 +69,10 @@ void I_ShutdownGraphics ()
|
|||
|
||||
void I_InitGraphics ()
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES, "0");
|
||||
#endif // __APPLE__
|
||||
|
||||
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
|
||||
{
|
||||
I_FatalError ("Could not initialize SDL video:\n%s\n", SDL_GetError());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue