mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 19:09:09 +00:00
Fix: [OSX] Warning about ambiguous method (-Wobjc-multiple-method-names). (#8399)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user