Skip to content

Commit

Permalink
Merge pull request #295 from johannes87/macos-fullscreen-fix
Browse files Browse the repository at this point in the history
Use SDL_WINDOW_FULLSCREEN_DESKTOP on macOS
  • Loading branch information
ec- authored Aug 24, 2024
2 parents 0c26ee3 + 6bf3d62 commit f5122f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/sdl/sdl_glimp.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,11 @@ static int GLW_SetMode( int mode, const char *modeFS, qboolean fullscreen, qbool

if ( fullscreen )
{
#ifdef MACOS_X
flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
#else
flags |= SDL_WINDOW_FULLSCREEN;
#endif
}
else if ( r_noborder->integer )
{
Expand Down

0 comments on commit f5122f4

Please sign in to comment.