fix infinite loop (doh)
git-svn-id: http://skia.googlecode.com/svn/trunk@1081 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
3ce59dc499
commit
e5d0def6d9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user