aboutsummaryrefslogtreecommitdiff
path: root/test/src/TkBaseTest.h
diff options
context:
space:
mode:
authorbgaldrikian <[email protected]>2020-11-10 20:53:31 -0800
committerbgaldrikian <[email protected]>2020-11-10 20:53:31 -0800
commitd61c455a4775f966b44cc47804b9e0f160d3d332 (patch)
tree7eff987598048409fe4ec9a1f733a87356f3aa21 /test/src/TkBaseTest.h
parent* Updated license file (diff)
downloadblast-1.1.7_rc1.tar.xz
blast-1.1.7_rc1.zip
Merge request #17 PhysX4 compatibilityv1.1.7_rc1
Other changes for linux and UE4CrossCompileLinux, and all packaging to work
Diffstat (limited to 'test/src/TkBaseTest.h')
-rwxr-xr-xtest/src/TkBaseTest.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/TkBaseTest.h b/test/src/TkBaseTest.h
index 5e14558..c97a401 100755
--- a/test/src/TkBaseTest.h
+++ b/test/src/TkBaseTest.h
@@ -46,7 +46,6 @@
#include "PxCpuDispatcher.h"
#include "PxTask.h"
#include "PxFoundation.h"
-#include "PxFoundationVersion.h"
#include <thread>
#include <algorithm>
@@ -54,6 +53,7 @@
#include <mutex>
#include <condition_variable>
#include <atomic>
+#include <PxPhysicsVersion.h>
#define USE_PHYSX_DISPATCHER 0
@@ -216,7 +216,7 @@ public:
virtual void SetUp() override
{
- m_foundation = PxCreateFoundation(PX_FOUNDATION_VERSION, NvBlastGetPxAllocatorCallback(), NvBlastGetPxErrorCallback());
+ m_foundation = PxCreateFoundation(PX_PHYSICS_VERSION, NvBlastGetPxAllocatorCallback(), NvBlastGetPxErrorCallback());
NvBlastProfilerSetCallback(&m_profiler);
NvBlastProfilerSetDetail(Nv::Blast::ProfilerDetail::LOW);
@@ -230,7 +230,7 @@ public:
m_cpuDispatcher = new TestCpuDispatcher(4);
#endif
- m_taskman = PxTaskManager::createTaskManager(NvBlastGetPxErrorCallback(), m_cpuDispatcher, nullptr);
+ m_taskman = PxTaskManager::createTaskManager(NvBlastGetPxErrorCallback(), m_cpuDispatcher);
m_groupTM = ExtGroupTaskManager::create(*m_taskman);
}