diff options
Diffstat (limited to 'src/core/SkPoint.cpp')
-rw-r--r-- | src/core/SkPoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPoint.cpp b/src/core/SkPoint.cpp index aabde2786d..345ef37448 100644 --- a/src/core/SkPoint.cpp +++ b/src/core/SkPoint.cpp @@ -161,7 +161,7 @@ bool SkPoint::setLength(float x, float y, float length) { // divide by inf. and return (0,0) vector. double xx = x; double yy = y; - #ifdef SK_DISCARD_DENORMALIZED_FOR_SPEED + #ifdef SK_CPU_FLUSH_TO_ZERO // The iOS ARM processor discards small denormalized numbers to go faster. // Casting this to a float would cause the scale to go to zero. Keeping it // as a double for the multiply keeps the scale non-zero. |