equal
deleted
inserted
replaced
231 } |
231 } |
232 |
232 |
233 |
233 |
234 static CocoaSubdriver *QZ_CreateWindowSubdriver(int width, int height, int bpp) |
234 static CocoaSubdriver *QZ_CreateWindowSubdriver(int width, int height, int bpp) |
235 { |
235 { |
236 // For now there is only the quickdraw window mode subdriver, but a pure quartz one should be added. |
236 long sysVersion; |
|
237 |
|
238 if (Gestalt(gestaltSystemVersion, &sysVersion) == noErr && sysVersion >= 0x1040) { |
|
239 return QZ_CreateWindowQuartzSubdriver(width, height, bpp); |
|
240 } |
|
241 |
237 return QZ_CreateWindowQuickdrawSubdriver(width, height, bpp); |
242 return QZ_CreateWindowQuickdrawSubdriver(width, height, bpp); |
238 } |
243 } |
239 |
244 |
240 |
245 |
241 static CocoaSubdriver *QZ_CreateSubdriver(int width, int height, int bpp, bool fullscreen, bool fallback) |
246 static CocoaSubdriver *QZ_CreateSubdriver(int width, int height, int bpp, bool fullscreen, bool fallback) |