From 4df6a5ad253fd9fb3aeeee7419de023c83922fe1 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 7 Feb 2019 06:37:41 +0100 Subject: [PATCH] (OSX) Buildfix --- ui/drivers/ui_cocoa.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/drivers/ui_cocoa.m b/ui/drivers/ui_cocoa.m index 3f56310a3b..106f9ec747 100644 --- a/ui/drivers/ui_cocoa.m +++ b/ui/drivers/ui_cocoa.m @@ -273,13 +273,14 @@ static char** waiting_argv; @synthesize window = _window; #ifdef HAVE_COCOA_METAL +#else +#define NS_WINDOW_COLLECTION_BEHAVIOR_FULLSCREEN_PRIMARY (1 << 17) + - (void)dealloc { [_window release]; [super dealloc]; } -#else -#define NS_WINDOW_COLLECTION_BEHAVIOR_FULLSCREEN_PRIMARY (1 << 17) #endif - (void)applicationDidFinishLaunching:(NSNotification *)aNotification