fix infinite loop (doh)

git-svn-id: http://skia.googlecode.com/svn/trunk@1081 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
mike@reedtribe.org 2011-04-08 00:53:48 +00:00
parent 3ce59dc499
commit e5d0def6d9

View File

@ -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;
}