diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-16 19:30:13 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-16 19:30:13 +0000 |
commit | 302b861338a626014153cc7368c54edbc646cfe5 (patch) | |
tree | 67e788908b04b342e477b235a77c701bf6799a0e /src/core | |
parent | 80cdb9a2139bdc6cb15b5bfb06ed9fc3e33bb39b (diff) |
be sure to mark fLastY with the bottom of the rect in blitRect
git-svn-id: http://skia.googlecode.com/svn/trunk@3210 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkAAClip.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/SkAAClip.cpp b/src/core/SkAAClip.cpp index 5402bcf832..9a0223d231 100644 --- a/src/core/SkAAClip.cpp +++ b/src/core/SkAAClip.cpp @@ -1193,12 +1193,15 @@ public: this->recordMinY(y); this->checkForYGap(y); fBuilder->addRectRun(x, y, width, height); + fLastY = y + height - 1; } virtual void blitAntiRect(int x, int y, int width, int height, SkAlpha leftAlpha, SkAlpha rightAlpha) SK_OVERRIDE { this->recordMinY(y); + this->checkForYGap(y); fBuilder->addAntiRectRun(x, y, width, height, leftAlpha, rightAlpha); + fLastY = y + height - 1; } virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE |