mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
SDL_SetWindowFullscreen() now takes a boolean value
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user