fixed one macos deprecation warning

This commit is contained in:
Martin Pulec
2022-04-19 16:15:25 +02:00
parent 8d46c0ccfb
commit 7f734b67ee

View File

@@ -190,7 +190,7 @@ void mac_gl_make_current(void * state)
-(void) initialize: (struct state_mac_gl *) s
{
window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 100, 100)
styleMask:NSBorderlessWindowMask
styleMask:NSWindowStyleMaskBorderless
backing:NSBackingStoreBuffered
defer:NO];
[window autorelease];