mirror of https://github.com/OpenTTD/OpenTTD
Fix: [OSX] Warning about ambiguous method (-Wobjc-multiple-method-names). (#8399)
parent
de614131e4
commit
4c1ee264a6
|
@ -297,7 +297,7 @@ bool WindowQuartzSubdriver::SetVideoMode(int width, int height, int bpp)
|
|||
this->window_height = height;
|
||||
this->buffer_depth = bpp;
|
||||
|
||||
[ this->window center ];
|
||||
[ (OTTD_CocoaWindow *)this->window center ];
|
||||
|
||||
/* Only recreate the view if it doesn't already exist */
|
||||
if (this->cocoaview == nil) {
|
||||
|
|
Loading…
Reference in New Issue