diff options
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-10 18:55:11 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-10 18:55:11 +0000 |
commit | f11a5afff0b2eb6acff3cb43296d0d38ecfc80a9 (patch) | |
tree | 13106114e32ebda7a8c3124e938097711e37e17d | |
parent | e942bc329aadbdf6f7f67e35faab52536b964ed9 (diff) |
fix path ops assert
git-svn-id: http://skia.googlecode.com/svn/trunk@8602 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/pathops/SkPathOpsCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkPathOpsCommon.cpp b/src/pathops/SkPathOpsCommon.cpp index 1a6f0f5c40..93f9cd47f7 100644 --- a/src/pathops/SkPathOpsCommon.cpp +++ b/src/pathops/SkPathOpsCommon.cpp @@ -89,7 +89,7 @@ abortContours: return 0; } result = bestSeg->windingAtT(*bestHit, bestTIndex, bestOpp, bestDx); - SkASSERT(*bestDx); + SkASSERT(result == SK_MinS32 || *bestDx); } double baseT = current->t(index); double endT = current->t(endIndex); |