Dep/G3D: Backport fix from G3D10

This commit is contained in:
jackpoz committed 2015-07-02 22:05:36 +02:00
1 parent 2b6ddce59b
commit b9d5b194df
3 files changed
+18 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
dep/g3dlite/source/Matrix4.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dep/g3dlite/source/Matrix4.cpp b/dep/g3dlite/source/Matrix4.cpp
index f3b25ad..0588cb6 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;
}