aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/SkMath.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkMath.cpp b/src/core/SkMath.cpp
index ccd96e939a..9e7094ccfb 100644
--- a/src/core/SkMath.cpp
+++ b/src/core/SkMath.cpp
@@ -15,6 +15,7 @@
#ifdef SK_SCALAR_IS_FLOAT
const uint32_t gIEEENotANumber = 0x7FFFFFFF;
const uint32_t gIEEEInfinity = 0x7F800000;
+ const uint32_t gIEEENegativeInfinity = 0xFF800000;
#endif
#define sub_shift(zeros, x, n) \