diff options
author | Mike Klein <mtklein@google.com> | 2018-08-16 10:17:03 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-08-16 19:13:41 +0000 |
commit | d46dce3de5449a3bc1eb40be3f049408125442ef (patch) | |
tree | c1af2f495b4398e6de70a1e2cb7de7b7f986cd31 /gm/rrects.cpp | |
parent | d221adbfc46723752bcf6e383cb26368a1450e57 (diff) | |
download | skia-d46dce3de5449a3bc1eb40be3f049408125442ef.tar.gz |
don't adapt any gray colors to 565
Adapting gray to 565 will add a noticeable purple/green tint.
I'd rather only the 565 images in Gold were tainted with that.
Change-Id: Ib09e92b2f78c6de086345124e9eefeb31bbb5fa8
Reviewed-on: https://skia-review.googlesource.com/147422
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gm/rrects.cpp')
-rw-r--r-- | gm/rrects.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/rrects.cpp b/gm/rrects.cpp index 143fde35e7..2fbd3b9f1e 100644 --- a/gm/rrects.cpp +++ b/gm/rrects.cpp @@ -6,7 +6,6 @@ */ #include "gm.h" -#include "sk_tool_utils.h" #include "GrCaps.h" #include "GrContext.h" #include "GrRenderTargetContextPriv.h" @@ -33,7 +32,7 @@ public: protected: void onOnceBeforeDraw() override { - this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); + this->setBGColor(0xFFDDDDDD); this->setUpRRects(); } |