CGColorSpaceCreateDeviceRGB() better matches CG's output
git-svn-id: http://skia.googlecode.com/svn/trunk@1183 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
898d9e5dc6
commit
1f55b046aa
@ -347,9 +347,9 @@ SkScalerContext_Mac::SkScalerContext_Mac(const SkDescriptor* desc)
|
||||
|
||||
|
||||
// Initialise ourselves
|
||||
// mColorSpaceRGB = CGColorSpaceCreateDeviceRGB();
|
||||
mColorSpaceRGB = CGColorSpaceCreateDeviceRGB();
|
||||
// mColorSpaceRGB = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
|
||||
mColorSpaceRGB = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGBLinear);
|
||||
// mColorSpaceRGB = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGBLinear);
|
||||
mColorSpaceGray = CGColorSpaceCreateDeviceGray();
|
||||
|
||||
mTransform = CGAffineTransformMake(SkScalarToFloat(skMatrix[SkMatrix::kMScaleX]),
|
||||
|
Loading…
Reference in New Issue
Block a user