diff options
-rw-r--r-- | tools/PictureRenderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp index b9b01e4cf9..64021525b0 100644 --- a/tools/PictureRenderer.cpp +++ b/tools/PictureRenderer.cpp @@ -612,6 +612,7 @@ static void draw_tile_to_canvas(SkCanvas* canvas, SkMatrix mat(canvas->getTotalMatrix()); mat.postTranslate(-SkIntToScalar(tileRect.fLeft), -SkIntToScalar(tileRect.fTop)); canvas->setMatrix(mat); + canvas->clear(SK_ColorTRANSPARENT); // Not every picture covers the entirety of every tile canvas->drawPicture(picture); canvas->restoreToCount(saveCount); canvas->flush(); |