diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-02 16:47:06 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-02 16:47:06 +0000 |
commit | 2dd76d7668d8175ea1ab8f7ad27a1bfd5b917a84 (patch) | |
tree | 286fd18dab88fc4ffccf12f85ad2816e8e5b3104 | |
parent | ef7d98e9600351ad5bf1b5abf5f9ac48a14b163c (diff) |
Hamfisted fix to drawLooper w/ 0 stages bug
https://codereview.chromium.org/16305002/
git-svn-id: http://skia.googlecode.com/svn/trunk@9393 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/core/SkDrawLooper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkDrawLooper.cpp b/src/core/SkDrawLooper.cpp index 79a3f015f1..bdf63e9336 100644 --- a/src/core/SkDrawLooper.cpp +++ b/src/core/SkDrawLooper.cpp @@ -35,6 +35,7 @@ void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& src, SkRect* dst) { SkCanvas canvas; + *dst = src; this->init(&canvas); for (bool firstTime = true;; firstTime = false) { SkPaint p(paint); |