aboutsummaryrefslogtreecommitdiff
path: root/APEX_1.4/framework
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
commitd1c812f1162e5fdb13c215792725b2591d7428f5 (patch)
tree407056c45c7e9320c48fca6a3697d81a061c4ea0 /APEX_1.4/framework
parentPhysX 3.4, APEX 1.4 patch release @22121272 (diff)
downloadphysx-3.4-3.4.1.tar.xz
physx-3.4-3.4.1.zip
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
Diffstat (limited to 'APEX_1.4/framework')
-rw-r--r--APEX_1.4/framework/include/ApexSDKImpl.h9
-rw-r--r--APEX_1.4/framework/src/ApexSDKImpl.cpp6
2 files changed, 12 insertions, 3 deletions
diff --git a/APEX_1.4/framework/include/ApexSDKImpl.h b/APEX_1.4/framework/include/ApexSDKImpl.h
index 5718f0b5..5b80be1b 100644
--- a/APEX_1.4/framework/include/ApexSDKImpl.h
+++ b/APEX_1.4/framework/include/ApexSDKImpl.h
@@ -315,6 +315,15 @@ namespace nvidia
return mCustomDllNamePostfix.c_str();
}
+ bool isParticlesSupported() const
+ {
+#if APEX_USE_PARTICLES
+ return true;
+#else
+ return false;
+#endif
+ }
+
virtual ModuleIntl *getInternalModule(Module *module);
virtual Module *getModule(ModuleIntl *module);
diff --git a/APEX_1.4/framework/src/ApexSDKImpl.cpp b/APEX_1.4/framework/src/ApexSDKImpl.cpp
index e92494e4..4fda19b0 100644
--- a/APEX_1.4/framework/src/ApexSDKImpl.cpp
+++ b/APEX_1.4/framework/src/ApexSDKImpl.cpp
@@ -69,9 +69,9 @@
PX_COMPILE_TIME_ASSERT(_MSC_FULL_VER >= 160040219);
# endif
-# if _MSC_VER > 1900
- #pragma message("Detected compiler newer than Visual Studio 2013, please update min version checking in ApexSDKImpl.cpp")
- PX_COMPILE_TIME_ASSERT(_MSC_VER <= 1900);
+# if _MSC_VER > 2000
+ #pragma message("Detected compiler newer than Visual Studio 2017, please update min version checking in ApexSDKImpl.cpp")
+ PX_COMPILE_TIME_ASSERT(_MSC_VER < 2000);
# endif
#endif