diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-01-09 18:43:12 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-13 22:21:17 +0100 |
commit | 4db7837d0671c228303c76f5979bbeb89c600634 (patch) | |
tree | 0b39febb69c36c0ca209d97145e62d5792ed07a8 /src/video/cocoa/cocoa_wnd.mm | |
parent | 63ed3f3575ade286782f56c249bcd2478e656adc (diff) | |
download | openttd-4db7837d0671c228303c76f5979bbeb89c600634.tar.xz |
Codechange: [OSX] There is only one subdriver left, remove virtual dispatch.
Diffstat (limited to 'src/video/cocoa/cocoa_wnd.mm')
-rw-r--r-- | src/video/cocoa/cocoa_wnd.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video/cocoa/cocoa_wnd.mm b/src/video/cocoa/cocoa_wnd.mm index 8c16dd1ef..256565b2b 100644 --- a/src/video/cocoa/cocoa_wnd.mm +++ b/src/video/cocoa/cocoa_wnd.mm @@ -282,7 +282,7 @@ void CocoaDialog(const char *title, const char *message, const char *buttonLabel @implementation OTTD_CocoaWindow -- (void)setDriver:(CocoaSubdriver*)drv +- (void)setDriver:(WindowQuartzSubdriver *)drv { driver = drv; } @@ -404,7 +404,7 @@ static const char *Utf8AdvanceByUtf16Units(const char *str, NSUInteger count) /** * Initialize the driver */ -- (void)setDriver:(CocoaSubdriver*)drv +- (void)setDriver:(WindowQuartzSubdriver *)drv { driver = drv; } @@ -810,7 +810,7 @@ static const char *Utf8AdvanceByUtf16Units(const char *str, NSUInteger count) @implementation OTTD_CocoaWindowDelegate /** Initialize the video driver */ -- (void)setDriver:(CocoaSubdriver*)drv +- (void)setDriver:(WindowQuartzSubdriver *)drv { driver = drv; } |