mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
Get rid of this compile-time ifdef
This commit is contained in:
parent
a58511ec00
commit
832bf6d6e8
@ -251,9 +251,7 @@ static char** waiting_argv;
|
||||
{
|
||||
unsigned i;
|
||||
apple_platform = self;
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
|
||||
self.window.collectionBehavior = NSWindowCollectionBehaviorFullScreenPrimary;
|
||||
#else
|
||||
|
||||
SEL selector = NSSelectorFromString(BOXSTRING("setCollectionBehavior:"));
|
||||
SEL fsselector = NSSelectorFromString(BOXSTRING("toggleFullScreen:"));
|
||||
|
||||
@ -262,7 +260,6 @@ static char** waiting_argv;
|
||||
if ([self.window respondsToSelector:fsselector])
|
||||
[self.window setCollectionBehavior:NS_WINDOW_COLLECTION_BEHAVIOR_FULLSCREEN_PRIMARY];
|
||||
}
|
||||
#endif
|
||||
|
||||
_listener = [WindowListener new];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user