diff options
Diffstat (limited to 'src/core/SkPathMeasure.cpp')
-rw-r--r-- | src/core/SkPathMeasure.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/SkPathMeasure.cpp b/src/core/SkPathMeasure.cpp index c519f93dce..48f7571c07 100644 --- a/src/core/SkPathMeasure.cpp +++ b/src/core/SkPathMeasure.cpp @@ -23,12 +23,7 @@ enum { static inline SkScalar tValue2Scalar(int t) { SkASSERT((unsigned)t <= kMaxTValue); - -#ifdef SK_SCALAR_IS_FLOAT return t * 3.05185e-5f; // t / 32767 -#else - return (t + (t >> 14)) << 1; -#endif } SkScalar SkPathMeasure::Segment::getScalarT() const { |