commit | 125960152dfd7f2aba4c2239131bdf75d9ac2705 | [log] [tgz] |
---|---|---|
author | caryclark <caryclark@google.com> | Wed Jul 29 05:27:47 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 29 05:27:47 2015 -0700 |
tree | 2bf4847f1586d5cb65cc127ba6984a754784d424 | |
parent | a52b7a03c61e38cff4236cc83eff97f00e465803 [diff] [blame] |
make tests portable by using 565 compatible colors TBR=reed@google.com Review URL: https://codereview.chromium.org/1262703002
diff --git a/gm/rrect.cpp b/gm/rrect.cpp index 4c55654..5106634 100644 --- a/gm/rrect.cpp +++ b/gm/rrect.cpp
@@ -104,7 +104,7 @@ if (rrect.isRect()) { paint.setColor(SK_ColorRED); } else if (rrect.isOval()) { - paint.setColor(0xFF008800); + paint.setColor(sk_tool_utils::color_to_565(0xFF008800)); } else if (rrect.isSimple()) { paint.setColor(SK_ColorBLUE); } else {