diff options
author | bjarni <bjarni@openttd.org> | 2007-11-30 13:26:24 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2007-11-30 13:26:24 +0000 |
commit | 5fcbb8f59bdc442c09395aee62201ad905cab3b2 (patch) | |
tree | 6de5e7a7d16658fd3ee19517762435165e9c8ca9 /src/video/cocoa/cocoa_v.mm | |
parent | 4704d4619b9607662bbf3ac9c1f167956d83ec30 (diff) | |
download | openttd-5fcbb8f59bdc442c09395aee62201ad905cab3b2.tar.xz |
(svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX 10.3. It will fail
Diffstat (limited to 'src/video/cocoa/cocoa_v.mm')
-rw-r--r-- | src/video/cocoa/cocoa_v.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index 24a7a4086..d039d30ad 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -232,10 +232,12 @@ static CocoaSubdriver *QZ_CreateWindowSubdriver(int width, int height, int bpp) { CocoaSubdriver *ret; +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 if (MacOSVersionIsAtLeast(10, 4, 0)) { ret = QZ_CreateWindowQuartzSubdriver(width, height, bpp); if (ret != NULL) return ret; } +#endif ret = QZ_CreateWindowQuickdrawSubdriver(width, height, bpp); if (ret != NULL) return ret; |