diff options
author | caryclark <caryclark@google.com> | 2015-05-20 08:22:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-20 08:22:45 -0700 |
commit | d223eb36a0be2bb5a278a483d6289a16b28eaf1a (patch) | |
tree | 10101527d849895fb03d1676d1ba5f5735ac04c4 | |
parent | c13a7738fbd6244f5caaca8f5351f769f8cc8fc1 (diff) |
fix win 8 bot
Comment out assert (runtime documentation)
It fails on Win 8 because the result isn't bit identical.
TBR=bungeman@google.com
Review URL: https://codereview.chromium.org/1148053003
-rw-r--r-- | src/core/SkStroke.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/SkStroke.cpp b/src/core/SkStroke.cpp index b4af918593..eda26d024f 100644 --- a/src/core/SkStroke.cpp +++ b/src/core/SkStroke.cpp @@ -1056,7 +1056,9 @@ SkPathStroker::ResultType SkPathStroker::intersectRay(SkQuadConstruct* quadPts, } // check to see if the denomerator is teeny relative to the numerator bool validDivide = SkScalarAbs(numerA) * SK_ScalarNearlyZero < SkScalarAbs(denom); - SkASSERT(!SkScalarNearlyZero(denom / numerA) == validDivide); +// the divide check is the same as checking if the scaled denom is nearly zero +// (commented out because on some platforms the two are not bit-identical) +// SkASSERT(!SkScalarNearlyZero(denom / numerA) == validDivide); if (validDivide) { if (kCtrlPt_RayType == intersectRayType) { numerA /= denom; |