From f16ec700a952e8c8b0f3444bec2aa94b2383fb78 Mon Sep 17 00:00:00 2001 From: neville Date: Thu, 30 Aug 2018 17:45:22 +0200 Subject: [PATCH] OSX PowerPC - gets it compiling and linking again but doesn't work - left a TODO/FIXME for aussiebloke --- ui/drivers/ui_cocoa.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/drivers/ui_cocoa.m b/ui/drivers/ui_cocoa.m index 0d4aec4328..76c27bdaf5 100644 --- a/ui/drivers/ui_cocoa.m +++ b/ui/drivers/ui_cocoa.m @@ -346,12 +346,14 @@ 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