commit | c5713e484a1f23d8ce27e801b5970c707a605fb4 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Apr 07 21:18:46 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Apr 07 21:18:46 2014 +0000 |
tree | 3fa3761a5319bd32707e1ac2d51c035ba255ccec | |
parent | e3beb6bd7de7fa211681abbb0be58e80b19885e0 [diff] [blame] |
clear bitmap in texture domain gm R=robertphillips@google.com TBR=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/227563007 git-svn-id: http://skia.googlecode.com/svn/trunk@14082 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp index 3643369..babf800 100644 --- a/gm/texturedomaineffect.cpp +++ b/gm/texturedomaineffect.cpp
@@ -46,6 +46,7 @@ virtual void onOnceBeforeDraw() SK_OVERRIDE { fBmp.allocN32Pixels(100, 100); SkCanvas canvas(fBmp); + canvas.clear(0x00000000); SkPaint paint; SkColor colors1[] = { SK_ColorCYAN, SK_ColorLTGRAY, SK_ColorGRAY };