Index: src/effects/gradients/Sk4fGradientPriv.h |
diff --git a/src/effects/gradients/Sk4fGradientPriv.h b/src/effects/gradients/Sk4fGradientPriv.h |
index 68e95a63d9ff7dda846dc7eecc3a8c71967f23b1..ae6fe7ce466acd7197aabddfc5cf2fc50273a02e 100644 |
--- a/src/effects/gradients/Sk4fGradientPriv.h |
+++ b/src/effects/gradients/Sk4fGradientPriv.h |
@@ -143,11 +143,11 @@ |
} |
static void store(const Sk4f& c, Type* dst) { |
- *dst = SkFloatToHalf_finite(PM::apply(c)); |
+ *dst = SkFloatToHalf_01(PM::apply(c)); |
} |
static void store(const Sk4f& c, Type* dst, int n) { |
- sk_memset64(dst, SkFloatToHalf_finite(PM::apply(c)), n); |
+ sk_memset64(dst, SkFloatToHalf_01(PM::apply(c)), n); |
} |
static void store4x(const Sk4f& c0, const Sk4f& c1, |