mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- 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 ()
|
void I_InitGraphics ()
|
||||||
{
|
{
|
||||||
|
#ifdef __APPLE__
|
||||||
|
SDL_SetHint(SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES, "0");
|
||||||
|
#endif // __APPLE__
|
||||||
|
|
||||||
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
|
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
|
||||||
{
|
{
|
||||||
I_FatalError ("Could not initialize SDL video:\n%s\n", SDL_GetError());
|
I_FatalError ("Could not initialize SDL video:\n%s\n", SDL_GetError());
|
||||||
|
|
Loading…
Reference in a new issue