Index: gm/repeated_bitmap.cpp |
diff --git a/gm/repeated_bitmap.cpp b/gm/repeated_bitmap.cpp |
index e6b06365e6724d2b297073cd49fcbeb683d0f872..bda368b738448ed59aaf2aa74df216004e9f1805 100644 |
--- a/gm/repeated_bitmap.cpp |
+++ b/gm/repeated_bitmap.cpp |
@@ -10,7 +10,8 @@ |
#include "Resources.h" |
DEF_SIMPLE_GM(repeated_bitmap, canvas, 576, 576) { |
- sk_tool_utils::draw_checkerboard(canvas, 0xFF999999, SK_ColorWHITE, 12); |
+ sk_tool_utils::draw_checkerboard(canvas, sk_tool_utils::color_to_565(0xFF999999), |
+ SK_ColorWHITE, 12); |
SkRect rect = SkRect::MakeLTRB(-4.25f, -4.25f, 4.25f, 4.25f); |
SkPaint paint; |
paint.setColor(0xFF333333); |
@@ -31,7 +32,8 @@ DEF_SIMPLE_GM(repeated_bitmap, canvas, 576, 576) { |
} |
DEF_SIMPLE_GM(repeated_bitmap_jpg, canvas, 576, 576) { |
- sk_tool_utils::draw_checkerboard(canvas, 0xFF999999, SK_ColorWHITE, 12); |
+ sk_tool_utils::draw_checkerboard(canvas, sk_tool_utils::color_to_565(0xFF999999), |
+ SK_ColorWHITE, 12); |
SkRect rect = SkRect::MakeLTRB(-68.0f, -68.0f, 68.0f, 68.0f); |
SkPaint paint; |
paint.setColor(0xFF333333); |