Fixed build

This commit is contained in:
Sam Lantinga 2023-05-30 05:52:07 -07:00
parent 4c36726a31
commit 1fdcb610ff
1 changed files with 0 additions and 2 deletions

View File

@ -2077,12 +2077,10 @@ void Cocoa_SetWindowSize(SDL_VideoDevice *_this, SDL_Window *window)
SDL_CocoaWindowData *windata = (__bridge SDL_CocoaWindowData *)window->driverdata;
NSWindow *nswindow = windata.nswindow;
NSRect rect = [nswindow contentRectForFrameRect:[nswindow frame]];
BOOL fullscreen;
Uint64 moveHack;
rect.size.width = window->w;
rect.size.height = window->h;
fullscreen = (window->flags & SDL_WINDOW_FULLSCREEN) ? YES : NO;
moveHack = s_moveHack;
s_moveHack = 0;