Set debug drawer for demo

Fixed issue with toggle of activation in the DemoApplication
added hint/todo for Win32ThreadSupport
This commit is contained in:
ejcoumans
2007-10-23 01:16:31 +00:00
parent ec76f2e0a3
commit 550c500ca7
3 changed files with 8 additions and 1 deletions

View File

@@ -312,7 +312,7 @@ void DemoApplication::keyboardCallback(unsigned char key, int x, int y)
m_debugMode = m_debugMode & (~btIDebugDraw::DBG_NoDeactivation);
else
m_debugMode |= btIDebugDraw::DBG_NoDeactivation;
if (m_debugMode | btIDebugDraw::DBG_NoDeactivation)
if (m_debugMode & btIDebugDraw::DBG_NoDeactivation)
{
gDisableDeactivation = true;
} else