Mercurial > hg > openttd
comparison src/video/cocoa/wnd_quickdraw.mm @ 8039:e3cc9852ebe0 draft
(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.
author | bjarni <bjarni@openttd.org> |
---|---|
date | Sat, 08 Dec 2007 15:21:37 +0000 |
parents | c4ef1371c850 |
children | 77a59057707a |
comparison
equal
deleted
inserted
replaced
8038:4b96d3a598ad | 8039:e3cc9852ebe0 |
---|---|
796 | 796 |
797 CocoaSubdriver *QZ_CreateWindowQuickdrawSubdriver(int width, int height, int bpp) | 797 CocoaSubdriver *QZ_CreateWindowQuickdrawSubdriver(int width, int height, int bpp) |
798 { | 798 { |
799 WindowQuickdrawSubdriver *ret; | 799 WindowQuickdrawSubdriver *ret; |
800 | 800 |
801 if (MacOSVersionIsAtLeast(10, 4, 0)) { | 801 if (MacOSVersionIsAtLeast(10, 5, 0)) { |
802 DEBUG(driver, 0, "The cocoa quickdraw subdriver is not recommended for Mac OS X 10.4 or later."); | 802 DEBUG(driver, 0, "The cocoa quickdraw subdriver is not recommended for Mac OS X 10.5 or later."); |
803 } | 803 } |
804 | 804 |
805 if (bpp != 8 && bpp != 32) { | 805 if (bpp != 8 && bpp != 32) { |
806 DEBUG(driver, 0, "The cocoa quickdraw subdriver only supports 8 and 32 bpp."); | 806 DEBUG(driver, 0, "The cocoa quickdraw subdriver only supports 8 and 32 bpp."); |
807 return NULL; | 807 return NULL; |