Whoops, fixed setting fullscreen flag

main
Sam Lantinga 2023-12-24 17:12:01 -08:00
parent 69e60e0f1b
commit 278e3f9184
1 changed files with 2 additions and 2 deletions

View File

@ -318,9 +318,9 @@ int UIKit_SetWindowFullscreen(SDL_VideoDevice *_this, SDL_Window *window, SDL_Vi
{
@autoreleasepool {
if (fullscreen) {
window->flags &= ~SDL_WINDOW_FULLSCREEN;
} else {
window->flags |= SDL_WINDOW_FULLSCREEN;
} else {
window->flags &= ~SDL_WINDOW_FULLSCREEN;
}
UIKit_UpdateWindowBorder(_this, window);
}