Skip to content

Commit

Permalink
use b3ConnectSharedMemory in PhysicsClient example, instead of b3Conn…
Browse files Browse the repository at this point in the history
…ectPhysicsLoopback
  • Loading branch information
Erwin Coumans committed Jan 27, 2016
1 parent 645a881 commit a3154f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/SharedMemory/PhysicsClientExample.cpp
Expand Up @@ -445,8 +445,8 @@ void PhysicsClientExample::initPhysics()
m_selectedBody = -1;
m_prevSelectedBody = -1;

//m_physicsClientHandle = b3ConnectSharedMemory(m_sharedMemoryKey);
m_physicsClientHandle = b3ConnectPhysicsLoopback(SHARED_MEMORY_KEY);
m_physicsClientHandle = b3ConnectSharedMemory(m_sharedMemoryKey);
//m_physicsClientHandle = b3ConnectPhysicsLoopback(SHARED_MEMORY_KEY);
//m_physicsClientHandle = b3ConnectPhysicsDirect();

if (!b3CanSubmitCommand(m_physicsClientHandle))
Expand Down

0 comments on commit a3154f7

Please sign in to comment.