diff options
author | 2013-01-21 21:48:58 +0000 | |
---|---|---|
committer | 2013-01-21 21:48:58 +0000 | |
commit | 5632e76dffc4b410351cc01dd4fe05dc129e2a42 (patch) | |
tree | f22ea37845f70397f24fc9100566cc1bf5dba5ee | |
parent | fd78046e7b828bc451e19a6b6bf5e23c265cfad7 (diff) |
Place fix in r7278 behind compile flag
git-svn-id: http://skia.googlecode.com/svn/trunk@7300 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/core/SkEdgeClipper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkEdgeClipper.cpp b/src/core/SkEdgeClipper.cpp index 11b919a9f5..1f0e38262a 100644 --- a/src/core/SkEdgeClipper.cpp +++ b/src/core/SkEdgeClipper.cpp @@ -246,7 +246,11 @@ static bool chopMonoCubicAt(SkScalar c0, SkScalar c1, SkScalar c2, SkScalar c3, SkScalar maxT = SK_Scalar1; SkScalar mid; int i; +#ifdef SK_IGNORE_CLIP_BUG_FIX + for (i = 0; i < 16; i++) { +#else for (i = 0; i < 24; i++) { +#endif mid = SkScalarAve(minT, maxT); SkScalar delta = eval_cubic_coeff(A, B, C, D, mid); if (delta < 0) { |