diff options
Diffstat (limited to 'PhysX_3.4/Source/Common/src/CmTask.h')
| -rw-r--r-- | PhysX_3.4/Source/Common/src/CmTask.h | 8 |
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(); } |