diff options
Diffstat (limited to 'libs/hwui/RenderProperties.cpp')
-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 08829ef..58ec32d 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 { |