Index: gm/lighting.cpp |
diff --git a/gm/lighting.cpp b/gm/lighting.cpp |
index 6df58516b2b5f4f7118e3e24513be926ddfa065e..b721fef6c3aef2c2ed396d46cc9cf8a345503bf2 100644 |
--- a/gm/lighting.cpp |
+++ b/gm/lighting.cpp |
@@ -58,9 +58,9 @@ protected: |
make_bitmap(); |
fInitialized = true; |
} |
- canvas->clear(0xFF101010); |
+ canvas->clear(sk_tool_utils::color_to_565(0xFF101010)); |
SkPaint checkPaint; |
- checkPaint.setColor(0xFF202020); |
+ checkPaint.setColor(sk_tool_utils::color_to_565(0xFF202020)); |
for (int y = 0; y < HEIGHT; y += 16) { |
for (int x = 0; x < WIDTH; x += 16) { |
canvas->save(); |