Switch to new SkColorSpace factory (flutter/engine#7480)
This commit is contained in:
@@ -36,8 +36,7 @@ IOSGLContext::IOSGLContext() {
|
||||
case UIDisplayGamutP3:
|
||||
// Should we consider using more than 8-bits of precision given that
|
||||
// P3 specifies a wider range of colors?
|
||||
color_space_ = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma,
|
||||
SkColorSpace::kDCIP3_D65_Gamut);
|
||||
color_space_ = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDCIP3);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user