aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/ClothImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/src/ClothImpl.h')
-rw-r--r--NvCloth/src/ClothImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NvCloth/src/ClothImpl.h b/NvCloth/src/ClothImpl.h
index 1e8d9a1..4d7b28d 100644
--- a/NvCloth/src/ClothImpl.h
+++ b/NvCloth/src/ClothImpl.h
@@ -316,7 +316,7 @@ inline physx::PxVec3 ClothImpl<T>::getGravity() const
inline float safeLog2(float x)
{
- NV_CLOTH_ASSERT(("safeLog2",x >= 0.0f));
+ NV_CLOTH_ASSERT_WITH_MESSAGE("safeLog2",x >= 0.0f);
return x > 0 ? physx::shdfnd::log2(x) : -FLT_MAX_EXP;
}