From 91145e02c6ccd3ea087de94fb64e8e6da70d7f2f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 31 Aug 2018 19:19:27 +0200 Subject: [PATCH] Revert "OSX PowerPC - gets it compiling and linking again but doesn't work -" This reverts commit f16ec700a952e8c8b0f3444bec2aa94b2383fb78. --- ui/drivers/ui_cocoa.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/drivers/ui_cocoa.m b/ui/drivers/ui_cocoa.m index 76c27bdaf5..0d4aec4328 100644 --- a/ui/drivers/ui_cocoa.m +++ b/ui/drivers/ui_cocoa.m @@ -346,14 +346,12 @@ static char** waiting_argv; } _renderView.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable; + _renderView.frame = self.window.contentView.bounds; #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 - _renderView.frame = self.window.contentView.bounds; self.window.contentView = _renderView; [self.window.contentView setNextResponder:_listener]; #else - /* TODO/FIXME - Aussiebloke - we need a workaround for OSX 10.5 for self.window.contentView.bounds - - * error - request for member 'bounds' in something not a structure or union. */ [self.window.contentView addSubview:_renderView]; [self.window makeFirstResponder:_renderView]; #endif