diff options
author | Mike Klein <mtklein@chromium.org> | 2017-01-05 12:23:37 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-05 18:56:22 +0000 |
commit | 90798529a02ffd0154c79d647717cf2e5b163158 (patch) | |
tree | 5699a2cfedb69aad3f8cf9f8c6d18f844ce21099 /gn/push_to_android.py | |
parent | d63c10225c008cec541024fd9468a5faf2db1fbc (diff) |
clamp to 1.0f in sk_linear_to_srgb_needs_round()
It's awkward today that it can go a little over 1.0f.
This is already slow, so a clamp won't slow it signficantly.
Change-Id: I9f882804e3ee949d72b7a05ad2cbac51731f6311
Reviewed-on: https://skia-review.googlesource.com/6617
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/push_to_android.py')
0 files changed, 0 insertions, 0 deletions