aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrClip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h
index ba26d5c081..76cb46e312 100644
--- a/include/gpu/GrClip.h
+++ b/include/gpu/GrClip.h
@@ -93,6 +93,7 @@ public:
}
void setClipStack(const SkClipStack* clipStack, const SkIPoint* origin = NULL) {
+ this->reset();
if (clipStack->isWideOpen()) {
fClipType = kWideOpen_ClipType;
fOrigin.setZero();