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);
|
SDL_MinimizeWindow(window);
|
||||||
}
|
}
|
||||||
if (flags & SDL_WINDOW_FULLSCREEN) {
|
if (flags & SDL_WINDOW_FULLSCREEN) {
|
||||||
SDL_SetWindowFullscreen(window, flags);
|
SDL_SetWindowFullscreen(window, SDL_TRUE);
|
||||||
}
|
}
|
||||||
if (flags & SDL_WINDOW_MOUSE_GRABBED) {
|
if (flags & SDL_WINDOW_MOUSE_GRABBED) {
|
||||||
/* We must specifically call SDL_SetWindowGrab() and not
|
/* We must specifically call SDL_SetWindowGrab() and not
|
||||||
|
|||||||
Reference in New Issue
Block a user