shape ops work in progress
this fixes quad/line intersection
git-svn-id: http://skia.googlecode.com/svn/trunk@5277 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/EdgeWalker_TestUtility.cpp b/experimental/Intersection/EdgeWalker_TestUtility.cpp
index 4129ab4..aae7636 100644
--- a/experimental/Intersection/EdgeWalker_TestUtility.cpp
+++ b/experimental/Intersection/EdgeWalker_TestUtility.cpp
@@ -130,10 +130,10 @@
if (!c) {
delete canvasPtr;
}
- if (errors2 >= 2 || errors > 96) {
+ if (errors2 >= 3 || errors > 96) {
SkDebugf("%s errors2=%d errors=%d\n", __FUNCTION__, errors2, errors);
}
- if (errors2 >= 3 || errors > 192) {
+ if (errors2 >= 4 || errors > 192) {
drawAsciiPaths(scaledOne, scaledTwo, true);
}
error2x2 = errors2;
@@ -199,7 +199,7 @@
if (errors2x2 == 0) {
return 0;
}
- const int MAX_ERRORS = 4;
+ const int MAX_ERRORS = 5;
if (errors2x2 > MAX_ERRORS && gComparePathsAssert) {
SkDebugf("%s errors=%d\n", __FUNCTION__, errors);
showPath(one);