Fixed resize not working on macOS

This commit is contained in:
Daniel Collin 2019-12-07 20:11:11 +01:00
parent 01e0ead2ad
commit f181e2d67c

View file

@ -173,7 +173,7 @@ void* mfb_open(const char* name, int width, int height, uint32_t flags, int scal
s_init = true;
}
NSWindowStyleMask styles = NSWindowStyleMaskClosable | NSWindowStyleMaskResizable;
NSWindowStyleMask styles = NSWindowStyleMaskClosable;
if (flags & WINDOW_BORDERLESS)
styles |= NSWindowStyleMaskBorderless;