aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/Matrix4.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-07-02 22:05:36 +0200
committerjackpoz <giacomopoz@gmail.com>2015-07-02 22:05:36 +0200
commitb9d5b194df2719bda956ea4f8794916ceb4bdd58 (patch)
tree377c062c7c8b28065b288ee56b6003ecba958e54 /dep/g3dlite/source/Matrix4.cpp
parent2b6ddce59b2e1f7bff83f904813ef86acecf243d (diff)
Dep/G3D: Backport fix from G3D10
Diffstat (limited to 'dep/g3dlite/source/Matrix4.cpp')
-rw-r--r--dep/g3dlite/source/Matrix4.cpp2
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;
}