aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkDQuadLineIntersection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathops/SkDQuadLineIntersection.cpp')
-rw-r--r--src/pathops/SkDQuadLineIntersection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pathops/SkDQuadLineIntersection.cpp b/src/pathops/SkDQuadLineIntersection.cpp
index b335c5a4b2..14d7d9cea0 100644
--- a/src/pathops/SkDQuadLineIntersection.cpp
+++ b/src/pathops/SkDQuadLineIntersection.cpp
@@ -99,6 +99,7 @@ public:
, fLine(l)
, fIntersections(i)
, fAllowNear(true) {
+ i->setMax(2);
}
void allowNear(bool allow) {