Skip to content

Commit

Permalink
Use SDL_WINDOW_FULLSCREEN_DESKTOP on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes87 committed Aug 3, 2024
1 parent 0c26ee3 commit 6bf3d62
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 6bf3d62

Please sign in to comment.