Skip to content

Commit

Permalink
[macOS] SDL window fix from https://github.com/ec-/Quake3e/pull/295, …
Browse files Browse the repository at this point in the history
…allows for tabbing out of the game, configuring the game for macbooks with notches, and macOS game mode
  • Loading branch information
taysta committed Nov 12, 2024
1 parent 90271a7 commit 8a6429c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion shared/sdl/sdl_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a6429c

Please sign in to comment.