From 64b88115ec5af8c4b2e9a989b6e0f6319bb196eb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 16 Feb 2023 17:28:35 -0800 Subject: [PATCH] SDL_SetWindowFullscreen() now takes a boolean value --- src/video/SDL_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 09d140948..9a38f70e0 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -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