diff options
author | bjarni <bjarni@openttd.org> | 2007-12-08 15:21:37 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2007-12-08 15:21:37 +0000 |
commit | 593b49dc49a57a0b7e7056e4d93dc2f860bb31db (patch) | |
tree | 00ab1f0d175488d1808d5000f9fc19a99b24e94c /src/video/cocoa/cocoa_v.mm | |
parent | 97a8a0d77fbf45627478857d2588ea6d08f45d40 (diff) | |
download | openttd-593b49dc49a57a0b7e7056e4d93dc2f860bb31db.tar.xz |
(svn r11599) -Change: [OSX] 10.4 will now use quickdraw for window mode instead of quartz
The reason is that quickdraw is way faster (try fast forward)
10.5 will still use quartz as it can't handle quickdraw.
Diffstat (limited to 'src/video/cocoa/cocoa_v.mm')
-rw-r--r-- | src/video/cocoa/cocoa_v.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index d039d30ad..db8ef2c5b 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -233,7 +233,8 @@ 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)) { + /* The reason for the version mismatch is due to the fact that the 10.4 binary needs to work on 10.5 as well. */ + if (MacOSVersionIsAtLeast(10, 5, 0)) { ret = QZ_CreateWindowQuartzSubdriver(width, height, bpp); if (ret != NULL) return ret; } |