diff options
author | Hal Canary <halcanary@google.com> | 2017-02-01 14:47:57 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-02 12:21:33 +0000 |
commit | 565da18f6e4a0f04dc836ce9d35f31bee31644f7 (patch) | |
tree | 851654163930903f0b3a45846703014324d92c32 /include/private/SkFixed.h | |
parent | 09a1c088b407b2cb04b7f41d71b227e7da4757a8 (diff) |
SkScalar: delete code thqat doesn't compile.
Change-Id: I8a5c404d6151fca79af5c5a98d4b44924c0ade52
Reviewed-on: https://skia-review.googlesource.com/7882
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'include/private/SkFixed.h')
-rw-r--r-- | include/private/SkFixed.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/private/SkFixed.h b/include/private/SkFixed.h index 07ac9d2306..2ef8fff0bb 100644 --- a/include/private/SkFixed.h +++ b/include/private/SkFixed.h @@ -138,18 +138,9 @@ inline SkFixed SkFixedMul_longlong(SkFixed a, SkFixed b) { /////////////////////////////////////////////////////////////////////////////// -#if SK_SCALAR_IS_FLOAT - #define SkFixedToScalar(x) SkFixedToFloat(x) #define SkScalarToFixed(x) SkFloatToFixed(x) -#else // SK_SCALAR_IS_DOUBLE - -#define SkFixedToScalar(x) SkFixedToDouble(x) -#define SkScalarToFixed(x) SkDoubleToFixed(x) - -#endif - /////////////////////////////////////////////////////////////////////////////// typedef int64_t SkFixed3232; // 32.32 |