aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsWinding.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-05-18 12:56:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-18 12:56:58 -0700
commit4e1a4c9399b8bb0897218f3ec10c254d3bb97463 (patch)
tree8d7dc01783988b530486faffd2317036eb41cfa6 /src/pathops/SkPathOpsWinding.cpp
parent4e149c09bcf1f02e3f31cd8e7bbe794a00090948 (diff)
fix builder winding again
Record the nesting level when finding the edge winding contribution so that inner edges can be reversed as needed. R=fmalita@chromium.org BUG=skia:3838 Review URL: https://codereview.chromium.org/1140383002
Diffstat (limited to 'src/pathops/SkPathOpsWinding.cpp')
-rw-r--r--src/pathops/SkPathOpsWinding.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pathops/SkPathOpsWinding.cpp b/src/pathops/SkPathOpsWinding.cpp
index 4a7b1bc3eb..03efdacd29 100644
--- a/src/pathops/SkPathOpsWinding.cpp
+++ b/src/pathops/SkPathOpsWinding.cpp
@@ -353,6 +353,7 @@ bool SkOpSpan::sortableTop(SkOpContour* contourHead) {
SkTSwap(wind, oppWind);
}
last = &hit->fPt;
+ this->globalState()->bumpNested();
}
return true;
}