summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/video/cocoa/wnd_quartz.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/cocoa/wnd_quartz.mm b/src/video/cocoa/wnd_quartz.mm
index d99a1877b..76608f8ef 100644
--- a/src/video/cocoa/wnd_quartz.mm
+++ b/src/video/cocoa/wnd_quartz.mm
@@ -167,6 +167,8 @@ static CGColorSpaceRef QZ_GetCorrectColorSpace()
if (CMGetSystemProfile(&sysProfile) == noErr) {
colorSpace = CGColorSpaceCreateWithPlatformColorSpace(sysProfile);
CMCloseProfile(sysProfile);
+ } else {
+ colorSpace = CGColorSpaceCreateDeviceRGB();
}
if (colorSpace == NULL) error("Could not get system colour space. You might need to recalibrate your monitor.");