Skip to content

Commit f16ec70

Browse files
author
neville
committed
OSX PowerPC - gets it compiling and linking again but doesn't work -
left a TODO/FIXME for aussiebloke
1 parent 7f7f23d commit f16ec70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/drivers/ui_cocoa.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,14 @@ - (void)setViewType:(apple_view_type_t)vt {
346346
}
347347

348348
_renderView.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
349-
_renderView.frame = self.window.contentView.bounds;
350349

351350
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
351+
_renderView.frame = self.window.contentView.bounds;
352352
self.window.contentView = _renderView;
353353
[self.window.contentView setNextResponder:_listener];
354354
#else
355+
/* TODO/FIXME - Aussiebloke - we need a workaround for OSX 10.5 for self.window.contentView.bounds -
356+
* error - request for member 'bounds' in something not a structure or union. */
355357
[self.window.contentView addSubview:_renderView];
356358
[self.window makeFirstResponder:_renderView];
357359
#endif

0 commit comments

Comments
 (0)