aboutsummaryrefslogtreecommitdiff
path: root/dep
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2012-09-04 14:43:32 +0200
committerShauren <shauren.trinity@gmail.com>2012-09-04 14:43:32 +0200
commit8ec0146721bea6e70157a4024ce685c41431fc92 (patch)
tree201f09c5a5ed6f19e07a357ae4ee30307f0e1627 /dep
parent1e9fc84a12ae08516328127c5e22f0d64bafc715 (diff)
Dep/G3D: Restored 99c8399772701af9bf3c79e4c514aead57cdc7d6
Diffstat (limited to 'dep')
-rw-r--r--dep/g3dlite/source/g3dmath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/g3dlite/source/g3dmath.cpp b/dep/g3dlite/source/g3dmath.cpp
index 84e8345bff4..e846f8c6080 100644
--- a/dep/g3dlite/source/g3dmath.cpp
+++ b/dep/g3dlite/source/g3dmath.cpp
@@ -41,7 +41,7 @@ double inf() {
}
bool isNaN(float x) {
- static const float n = nan();
+ static const float n = fnan();
return memcmp(&x, &n, sizeof(float)) == 0;
}