Codechange: [OSX] There is only one subdriver left, remove virtual dispatch.

This commit is contained in:
Michael Lutz
2021-01-09 18:43:12 +01:00
parent 63ed3f3575
commit 4db7837d06
4 changed files with 58 additions and 138 deletions

View File

@@ -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;
}