diff options
| author | 2014-04-22 17:29:22 +0000 | |
|---|---|---|
| committer | 2014-04-22 17:29:23 +0000 | |
| commit | 98ae02c5996513d252e22d974fac5f56e8078de7 (patch) | |
| tree | a9b142322c18d0a42ae93b4137126e9fc9413535 | |
| parent | 9a722ebc320c7d8842322fef6f80b0481c8aab5e (diff) | |
| parent | 222f33178b1547b70350ead660070eb01e56eac2 (diff) | |
Merge "Fix is_zero check"
| -rw-r--r-- | libs/hwui/RenderProperties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/RenderProperties.cpp b/libs/hwui/RenderProperties.cpp index 08829ef83ee2..58ec32d8a294 100644 --- a/libs/hwui/RenderProperties.cpp +++ b/libs/hwui/RenderProperties.cpp @@ -34,7 +34,7 @@ #define NONZERO_EPSILON .001f static inline bool is_zero(float value) { - return (value >= -NONZERO_EPSILON) || (value <= NONZERO_EPSILON); + return (value >= -NONZERO_EPSILON) && (value <= NONZERO_EPSILON); } namespace android { |