diff options
| author | bgaldrikian <[email protected]> | 2020-11-10 20:53:31 -0800 |
|---|---|---|
| committer | bgaldrikian <[email protected]> | 2020-11-10 20:53:31 -0800 |
| commit | d61c455a4775f966b44cc47804b9e0f160d3d332 (patch) | |
| tree | 7eff987598048409fe4ec9a1f733a87356f3aa21 /test/src/TkBaseTest.h | |
| parent | * Updated license file (diff) | |
| download | blast-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-x | test/src/TkBaseTest.h | 6 |
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);
}
|