aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/Common/src/CmTask.h
diff options
context:
space:
mode:
authorsschirm <[email protected]>2017-02-27 16:40:12 +0100
committersschirm <[email protected]>2017-03-01 18:04:26 +0100
commit7840347c32755e94a807f978f1cbb558717ac8cf (patch)
tree295cd3ca93a45f8fcc43cf3cbf3887c0e0c5526b /PhysX_3.4/Source/Common/src/CmTask.h
parentPre-release comments marking end of beta. (diff)
downloadphysx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.tar.xz
physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.zip
PhysX 3.4, APEX 1.4 final release @21757769v3.4.0-rc-2
Diffstat (limited to 'PhysX_3.4/Source/Common/src/CmTask.h')
-rw-r--r--PhysX_3.4/Source/Common/src/CmTask.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/Common/src/CmTask.h b/PhysX_3.4/Source/Common/src/CmTask.h
index fdc85986..11088a13 100644
--- a/PhysX_3.4/Source/Common/src/CmTask.h
+++ b/PhysX_3.4/Source/Common/src/CmTask.h
@@ -54,7 +54,11 @@ namespace Cm
virtual void run()
{
+#if PX_NX // special case because default rounding mode is not nearest
+ PX_FPU_GUARD;
+#else
PX_SIMD_GUARD;
+#endif
runInternal();
}
@@ -69,7 +73,11 @@ namespace Cm
virtual void run()
{
+#if PX_NX // special case because default rounding mode is not nearest
+ PX_FPU_GUARD;
+#else
PX_SIMD_GUARD;
+#endif
runInternal();
}