diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-21 16:30:39 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-21 16:30:39 +0000 |
commit | 3c3c46238d72a365b8e11e295ad03bdf1bcbe206 (patch) | |
tree | 73a1ac069b0fa80e250a7b6218ec6865f9c1def1 /bench/GameBench.cpp | |
parent | 418ee43f428cfc7836e4cb6d67b95c6f4a1aa2ad (diff) |
Bleed cleanup (remove nocolorbleed GM & enable bleed in game bench)
https://codereview.chromium.org/23264014/
git-svn-id: http://skia.googlecode.com/svn/trunk@10853 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/GameBench.cpp')
-rw-r--r-- | bench/GameBench.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bench/GameBench.cpp b/bench/GameBench.cpp index 63a0d02f97..70514947df 100644 --- a/bench/GameBench.cpp +++ b/bench/GameBench.cpp @@ -207,7 +207,8 @@ protected: 4, verts, uvs, NULL, NULL, indices, 6, p2); } else { - canvas->drawBitmapRect(fAtlas, &src, dst, &p); + canvas->drawBitmapRect(fAtlas, &src, dst, &p, + SkCanvas::kBleed_DrawBitmapRectFlag); } } else { canvas->drawBitmapRect(fCheckerboard, NULL, dst, &p); |