(svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX 10.3. It will fail

This commit is contained in:
bjarni
2007-11-30 13:26:24 +00:00
parent 4704d4619b
commit 5fcbb8f59b
4 changed files with 20 additions and 2 deletions

View File

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