mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-25 08:44:13 +00:00
Whoops, fixed setting fullscreen flag
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user