From 02a858e7c1be1c8c21634be9aba92db32f51ad17 Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Sat, 8 Jun 2013 11:32:29 -0700 Subject: [PATCH] pass in b3Config --- Demos3/BasicGpuDemo/BasicGpuDemo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demos3/BasicGpuDemo/BasicGpuDemo.cpp b/Demos3/BasicGpuDemo/BasicGpuDemo.cpp index eff53d1ea..b938782ca 100644 --- a/Demos3/BasicGpuDemo/BasicGpuDemo.cpp +++ b/Demos3/BasicGpuDemo/BasicGpuDemo.cpp @@ -213,7 +213,7 @@ void BasicGpuDemo::initPhysics() //m_data->m_bp = bp; b3DynamicBvhBroadphase* broadphaseDbvt = new b3DynamicBvhBroadphase(config.m_maxConvexBodies); - b3GpuRigidBodyPipeline* rbp = new b3GpuRigidBodyPipeline(m_clData->m_clContext,m_clData->m_clDevice,m_clData->m_clQueue, np, bp,broadphaseDbvt); + b3GpuRigidBodyPipeline* rbp = new b3GpuRigidBodyPipeline(m_clData->m_clContext,m_clData->m_clDevice,m_clData->m_clQueue, np, bp,broadphaseDbvt,config); m_dynamicsWorld = new b3GpuDynamicsWorld(bp,np,rbp);