diff options
author | jackpoz <giacomopoz@gmail.com> | 2015-07-02 22:05:36 +0200 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2015-07-03 01:16:51 +0100 |
commit | e98b8fa7c575467dea544856c8583ff7ff73ce46 (patch) | |
tree | fe1dfbc44a79d03b717cbeb01c924a18d73a041a /dep/g3dlite/source/Matrix4.cpp | |
parent | 08f11ed5155037b6c0454dee512e2bcdd9eab4b3 (diff) |
Dep/G3D: Backport fix from G3D10
(cherry picked from commit b9d5b194df2719bda956ea4f8794916ceb4bdd58)
Diffstat (limited to 'dep/g3dlite/source/Matrix4.cpp')
-rw-r--r-- | dep/g3dlite/source/Matrix4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/g3dlite/source/Matrix4.cpp b/dep/g3dlite/source/Matrix4.cpp index f3b25ad5837..0588cb6ff46 100644 --- a/dep/g3dlite/source/Matrix4.cpp +++ b/dep/g3dlite/source/Matrix4.cpp @@ -606,7 +606,7 @@ bool Matrix4float64::operator==(const Matrix4float64& other) const { // If the bit patterns are identical, they must be // the same matrix. If not, they *might* still have // equal elements due to floating point weirdness. - if (memcmp(this, &other, sizeof(Matrix4float64) == 0)) { + if (memcmp(this, &other, sizeof(Matrix4float64)) == 0) { return true; } |