diff options
author | Brian Osman <brianosman@google.com> | 2017-07-11 11:59:48 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-11 16:25:21 +0000 |
commit | 39ef556d7c6ea15f0c6afd7707d338cdfd41084a (patch) | |
tree | d0e6b108af701311e03047614709ce1d71aee0c7 /example | |
parent | 64778d9f275d8ce3df8f4ab39ff334b7ef5b70d3 (diff) |
Correctly set encoder options according to color space
The default value is kRespect, so we were always using that value.
Replace that with more explicit (and correct) logic.
Bug: skia:
Change-Id: I6984a96fa16033f41824851cade3ff046b0fae94
Reviewed-on: https://skia-review.googlesource.com/22260
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions