Skip to content

Commit

Permalink
SDL_SetWindowFullscreen() now takes a boolean value
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 17, 2023
1 parent 6c04c6f commit 64b8811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_video.c
Expand Up @@ -1578,7 +1578,7 @@ static void SDL_FinishWindowCreation(SDL_Window *window, Uint32 flags)
SDL_MinimizeWindow(window);
}
if (flags & SDL_WINDOW_FULLSCREEN) {
SDL_SetWindowFullscreen(window, flags);
SDL_SetWindowFullscreen(window, SDL_TRUE);
}
if (flags & SDL_WINDOW_MOUSE_GRABBED) {
/* We must specifically call SDL_SetWindowGrab() and not
Expand Down

0 comments on commit 64b8811

Please sign in to comment.