aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/SkFixed.h
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-02-02 10:03:22 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-02 15:43:08 +0000
commit529bcd6db7ebfa3a9e4898696cfc869839045176 (patch)
treec2fc853e9846f1ca871c75b43a06926fe468129d /include/private/SkFixed.h
parent7e97dc0aa1ff5b03593e689fe1cfdcc3550c169e (diff)
Revert "Revert "SkScalar: delete code that doesn't compile.""
This reverts commit 8233fc82b00763d37a7b0db7890b15c7d58939d4. Change-Id: Ia32ccdb3b385ed28e1b41e553c7d80cf803522cc Reviewed-on: https://skia-review.googlesource.com/7899 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'include/private/SkFixed.h')
-rw-r--r--include/private/SkFixed.h9
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