diff --git a/CMakeLists.txt b/CMakeLists.txt index 4947258619..08ca053594 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,6 +76,7 @@ endif() if(APPLE) set(UseInternalJPEGDefault ON) + set(UseInternalPNGDefault ON) endif() option(UseInternalOpenAL "If set, use bundled OpenAL." ${UseInternalOpenALDefault}) diff --git a/shared/sdl/sdl_window.cpp b/shared/sdl/sdl_window.cpp index 8ff66a8e4b..18daa067dc 100644 --- a/shared/sdl/sdl_window.cpp +++ b/shared/sdl/sdl_window.cpp @@ -421,7 +421,11 @@ static rserr_t GLimp_SetMode(glconfig_t *glConfig, const windowDesc_t *windowDes if( fullscreen ) { - flags |= SDL_WINDOW_FULLSCREEN; +#ifdef MACOS_X + flags |= SDL_WINDOW_FULLSCREEN_DESKTOP; +#else + flags |= SDL_WINDOW_FULLSCREEN; +#endif glConfig->isFullscreen = qtrue; } else