1
0
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:
Michael Lutz
2020-12-19 21:59:27 +01:00
committed by GitHub
parent de614131e4
commit 4c1ee264a6

View File

@@ -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) {