aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/SwFactory.cpp
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2017-07-31 13:52:20 +0200
committerMarijn Tamis <[email protected]>2017-07-31 13:52:20 +0200
commit223aff8b3f73bb786dce5c67b83ff55208d43969 (patch)
tree2e3e2760cb49afbf8d9379e23e27d175bbba27aa /NvCloth/src/SwFactory.cpp
parentRemove unused copy of PxShared. (diff)
downloadnvcloth-1.1.2.tar.xz
nvcloth-1.1.2.zip
NvCloth 1.1.2 Release. (22576033)v1.1.2
Diffstat (limited to 'NvCloth/src/SwFactory.cpp')
-rw-r--r--NvCloth/src/SwFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NvCloth/src/SwFactory.cpp b/NvCloth/src/SwFactory.cpp
index 6f46c96..5c4b625 100644
--- a/NvCloth/src/SwFactory.cpp
+++ b/NvCloth/src/SwFactory.cpp
@@ -51,7 +51,7 @@ cloth::SwFactory::SwFactory()
cloth::SwFactory::~SwFactory()
{
- NV_CLOTH_ASSERT(("All fabrics created by this factory need to be deleted before this factory is destroyed.", mFabrics.size() == 0));
+ NV_CLOTH_ASSERT_WITH_MESSAGE("All fabrics created by this factory need to be deleted before this factory is destroyed.", mFabrics.size() == 0);
}
cloth::Fabric* cloth::SwFactory::createFabric(uint32_t numParticles, Range<const uint32_t> phaseIndices,