aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/tilemodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/tilemodes.cpp')
-rw-r--r--gm/tilemodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/tilemodes.cpp b/gm/tilemodes.cpp
index ab4ea0a2fe..d51fce2cf6 100644
--- a/gm/tilemodes.cpp
+++ b/gm/tilemodes.cpp
@@ -22,7 +22,7 @@
static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) {
bm->setConfig(config, w, h);
bm->allocPixels();
- bm->eraseColor(0);
+ bm->eraseColor(SK_ColorTRANSPARENT);
SkCanvas canvas(*bm);
SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(w), SkIntToScalar(h)} };