aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkReduceOrder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathops/SkReduceOrder.cpp')
-rw-r--r--src/pathops/SkReduceOrder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathops/SkReduceOrder.cpp b/src/pathops/SkReduceOrder.cpp
index bb2038b45f..6f06447a47 100644
--- a/src/pathops/SkReduceOrder.cpp
+++ b/src/pathops/SkReduceOrder.cpp
@@ -88,12 +88,12 @@ int SkReduceOrder::reduce(const SkDQuad& quad) {
}
}
if (minXSet == 0x7) { // test for vertical line
- if (minYSet == 0x7) { // return 1 if all four are coincident
+ if (minYSet == 0x7) { // return 1 if all three are coincident
return coincident_line(quad, fQuad);
}
return vertical_line(quad, fQuad);
}
- if (minYSet == 0xF) { // test for horizontal line
+ if (minYSet == 0x7) { // test for horizontal line
return horizontal_line(quad, fQuad);
}
int result = check_linear(quad, minX, maxX, minY, maxY, fQuad);