Switching colorspace according to Apple's recommendation

This commit is contained in:
Stefan Csomor 2018-06-29 15:40:23 +02:00
parent 17c7048f36
commit 24dbe9775c

View File

@ -212,7 +212,7 @@ CGColorSpaceRef wxMacGetGenericRGBColorSpace()
#if wxOSX_USE_IPHONE
genericRGBColorSpace.reset( CGColorSpaceCreateDeviceRGB() );
#else
genericRGBColorSpace.reset( CGColorSpaceCreateWithName( kCGColorSpaceGenericRGB ) );
genericRGBColorSpace.reset( CGColorSpaceCreateWithName( kCGColorSpaceSRGB ) );
#endif
}