diff options
author | 2011-10-06 15:11:03 +0000 | |
---|---|---|
committer | 2011-10-06 15:11:03 +0000 | |
commit | 733e302b1c36a4310d91ea61ea127379f16d1318 (patch) | |
tree | d0fe0ae498cea3ec4166ad96eae0f476e85712f0 /src/core/SkPaint.cpp | |
parent | 644fc767bce9d565ec317e748e3e03c23ce82918 (diff) |
make no promises if we see a looper
git-svn-id: http://skia.googlecode.com/svn/trunk@2422 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPaint.cpp')
-rw-r--r-- | src/core/SkPaint.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp index 522d9d2003..0c7cb33f86 100644 --- a/src/core/SkPaint.cpp +++ b/src/core/SkPaint.cpp @@ -1837,6 +1837,9 @@ const SkPath* SkTextToPathIter::next(SkScalar* xpos) { /////////////////////////////////////////////////////////////////////////////// bool SkPaint::nothingToDraw() const { + if (fLooper) { + return false; + } SkXfermode::Mode mode; if (SkXfermode::AsMode(fXfermode, &mode)) { switch (mode) { |