mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 01:25:42 +00:00
fixed typo in prev. patch.
This commit is contained in:
parent
1ecf77d630
commit
3e341021c3
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
#ifndef MAC_OS_X_VERSION_10_12
|
#ifndef MAC_OS_X_VERSION_10_12
|
||||||
static const unsigned int NSWindowStyleMaskTitled = NSTitledWindowMask;
|
static const unsigned int NSWindowStyleMaskTitled = NSTitledWindowMask;
|
||||||
static const unsigned int NSWindowStyleMiniaturizableMask = NSMiniaturizableWindowMask;
|
static const unsigned int NSWindowStyleMaskMiniaturizable = NSMiniaturizableWindowMask;
|
||||||
static const unsigned int NSWindowStyleMaskClosable = NSClosableWindowMask;
|
static const unsigned int NSWindowStyleMaskClosable = NSClosableWindowMask;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ static void *CreateWindowCocoa(int w, int h)
|
||||||
rect.size.height = h;
|
rect.size.height = h;
|
||||||
rect.origin.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - rect.origin.y - rect.size.height;
|
rect.origin.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - rect.origin.y - rect.size.height;
|
||||||
|
|
||||||
style = (NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMiniaturizableMask);
|
style = (NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskMiniaturizable);
|
||||||
|
|
||||||
nswindow = [[NSWindow alloc] initWithContentRect:rect styleMask:style backing:NSBackingStoreBuffered defer:FALSE];
|
nswindow = [[NSWindow alloc] initWithContentRect:rect styleMask:style backing:NSBackingStoreBuffered defer:FALSE];
|
||||||
[nswindow makeKeyAndOrderFront:nil];
|
[nswindow makeKeyAndOrderFront:nil];
|
||||||
|
|
Loading…
Reference in a new issue