diff options
author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-08 00:53:48 +0000 |
---|---|---|
committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-08 00:53:48 +0000 |
commit | e5d0def6d9864463565f9ca6a6e9ceedcb72712d (patch) | |
tree | 7837f4c145a13116dc957c67c4b6ee0bde878e24 /src/effects | |
parent | 3ce59dc4999de5d6c6913af662c8b0b8020a4ef7 (diff) |
fix infinite loop (doh)
git-svn-id: http://skia.googlecode.com/svn/trunk@1081 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkLayerDrawLooper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effects/SkLayerDrawLooper.cpp b/src/effects/SkLayerDrawLooper.cpp index 6aeefd8886..32b56d6948 100644 --- a/src/effects/SkLayerDrawLooper.cpp +++ b/src/effects/SkLayerDrawLooper.cpp @@ -41,6 +41,8 @@ bool SkLayerDrawLooper::next(SkCanvas* canvas, SkPaint* paint) { *paint = fCurrRec->fPaint; canvas->save(SkCanvas::kMatrix_SaveFlag); canvas->translate(fCurrRec->fOffset.fX, fCurrRec->fOffset.fY); + fCurrRec = fCurrRec->fNext; + return true; } |