diff options
Diffstat (limited to 'gm/colormatrix.cpp')
-rw-r--r-- | gm/colormatrix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/colormatrix.cpp b/gm/colormatrix.cpp index 2c6e44c1f2..7d57b3278b 100644 --- a/gm/colormatrix.cpp +++ b/gm/colormatrix.cpp @@ -34,6 +34,7 @@ protected: bm.setConfig(SkBitmap::kARGB_8888_Config, width, height); bm.allocPixels(); SkCanvas canvas(bm); + canvas.clear(0x0); for (int y = 0; y < height; ++y) { for (int x = 0; x < width; ++x) { SkPaint paint; |