Skip to content

Commit

Permalink
Switch to new SkColorSpace factory (#7480)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianosman committed Jan 15, 2019
1 parent 181321a commit 8a3fb31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shell/platform/darwin/ios/ios_gl_context.mm
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
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;
Expand Down

0 comments on commit 8a3fb31

Please sign in to comment.