diff options
author | 2016-05-19 23:02:55 +0000 | |
---|---|---|
committer | 2016-05-19 23:02:55 +0000 | |
commit | e66235bf00a695cacb44b0bc1a241cabb7de3b96 (patch) | |
tree | d1589223a986b7137e5460cf170f71d91e4dad53 /libs/hwui/Matrix.cpp | |
parent | 53ccfe848f1b97cca12c7e5b496032e97594a8e2 (diff) | |
parent | cef190de850f163dd4b95d667a8d46d46e860363 (diff) |
Merge "Fix misc-macro-parentheses warnings in hwui and graphic jni."
Diffstat (limited to 'libs/hwui/Matrix.cpp')
-rw-r--r-- | libs/hwui/Matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Matrix.cpp b/libs/hwui/Matrix.cpp index 06e67c0e85ad..872abde2c765 100644 --- a/libs/hwui/Matrix.cpp +++ b/libs/hwui/Matrix.cpp @@ -425,7 +425,7 @@ void Matrix4::mapPoint3d(Vector3& vec) const { vec.z = orig.x * data[2] + orig.y * data[6] + orig.z * data[kScaleZ] + data[kTranslateZ]; } -#define MUL_ADD_STORE(a, b, c) a = (a) * (b) + (c) +#define MUL_ADD_STORE(a, b, c) ((a) = (a) * (b) + (c)) void Matrix4::mapPoint(float& x, float& y) const { if (isSimple()) { |