Fix: [OSX] Warning about ambiguous method (-Wobjc-multiple-method-names). (#8399)

pull/217/head
Michael Lutz 4 years ago committed by GitHub
parent de614131e4
commit 4c1ee264a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save