fix win32 UNICODE build
re-enable VR teleport
This commit is contained in:
@@ -1908,7 +1908,7 @@ void PhysicsServerExample::vrControllerButtonCallback(int controllerId, int butt
|
|||||||
if (button == 1 && state == 0)
|
if (button == 1 && state == 0)
|
||||||
{
|
{
|
||||||
//gResetSimulation = true;
|
//gResetSimulation = true;
|
||||||
//gVRTeleportPos1 = gLastPickPos;
|
gVRTeleportPos1 = gLastPickPos;
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ void* Win32SharedMemory::allocateSharedMemory(int key, int size, bool allowCre
|
|||||||
b3Assert(m_internalData->m_buf==0);
|
b3Assert(m_internalData->m_buf==0);
|
||||||
|
|
||||||
#ifdef UNICODE
|
#ifdef UNICODE
|
||||||
swprintf_s (m_internalData->m_szName,"MyFileMappingObject%d",key);
|
swprintf_s (m_internalData->m_szName,TEXT("MyFileMappingObject%d"),key);
|
||||||
#else
|
#else
|
||||||
|
|
||||||
sprintf(m_internalData->m_szName,"MyFileMappingObject%d",key);
|
sprintf(m_internalData->m_szName,"MyFileMappingObject%d",key);
|
||||||
|
|||||||
Reference in New Issue
Block a user