aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-08-04 13:50:25 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-04 18:20:45 +0000
commit514ac0b92aa52e7439a6a73dca0f4c74d3db8fa2 (patch)
tree7d6e256db94c82be2e2370c1bdd063bb62a8badf /include/private
parent4c06f5ee08b169e8b636bc619e355e604b25cf47 (diff)
remove unused flag
Bug: skia: Change-Id: Icfaf04a541138700da906d96dfc2d90e4e00379d Reviewed-on: https://skia-review.googlesource.com/31150 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/private')
-rw-r--r--include/private/SkFloatingPoint.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/private/SkFloatingPoint.h b/include/private/SkFloatingPoint.h
index f3acf4806c..2267234822 100644
--- a/include/private/SkFloatingPoint.h
+++ b/include/private/SkFloatingPoint.h
@@ -82,15 +82,9 @@ static inline float sk_float_pow(float base, float exp) {
#define sk_double_isnan(a) sk_float_isnan(a)
-#ifdef SK_USE_FLOATBITS
- #define sk_float_floor2int(x) SkFloatToIntFloor(x)
- #define sk_float_round2int(x) SkFloatToIntRound(x)
- #define sk_float_ceil2int(x) SkFloatToIntCeil(x)
-#else
- #define sk_float_floor2int(x) (int)sk_float_floor(x)
- #define sk_float_round2int(x) (int)sk_float_floor((x) + 0.5f)
- #define sk_float_ceil2int(x) (int)sk_float_ceil(x)
-#endif
+#define sk_float_floor2int(x) (int)sk_float_floor(x)
+#define sk_float_round2int(x) (int)sk_float_floor((x) + 0.5f)
+#define sk_float_ceil2int(x) (int)sk_float_ceil(x)
#define sk_double_floor(x) floor(x)
#define sk_double_round(x) floor((x) + 0.5)