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->window_height = height;
|
||||||
this->buffer_depth = bpp;
|
this->buffer_depth = bpp;
|
||||||
|
|
||||||
[ this->window center ];
|
[ (OTTD_CocoaWindow *)this->window center ];
|
||||||
|
|
||||||
/* Only recreate the view if it doesn't already exist */
|
/* Only recreate the view if it doesn't already exist */
|
||||||
if (this->cocoaview == nil) {
|
if (this->cocoaview == nil) {
|
||||||
|
Reference in New Issue
Block a user