mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 19:31:30 +11:00
Fixed resize not working on macOS
This commit is contained in:
parent
01e0ead2ad
commit
f181e2d67c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue