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 {
|
@autoreleasepool {
|
||||||
if (fullscreen) {
|
if (fullscreen) {
|
||||||
window->flags &= ~SDL_WINDOW_FULLSCREEN;
|
|
||||||
} else {
|
|
||||||
window->flags |= SDL_WINDOW_FULLSCREEN;
|
window->flags |= SDL_WINDOW_FULLSCREEN;
|
||||||
|
} else {
|
||||||
|
window->flags &= ~SDL_WINDOW_FULLSCREEN;
|
||||||
}
|
}
|
||||||
UIKit_UpdateWindowBorder(_this, window);
|
UIKit_UpdateWindowBorder(_this, window);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user