Cleanup some #defines in parallel collision detector, add conditional freeglut support to return from glutMainLoop.

This commit is contained in:
ejcoumans
2007-12-15 00:40:34 +00:00
parent 335c79a2a2
commit 6dff743d68
8 changed files with 98 additions and 290 deletions

View File

@@ -256,7 +256,7 @@ void DemoApplication::keyboardCallback(unsigned char key, int x, int y)
switch (key)
{
case 'q' :
#if (defined (WIN32) && defined (_MSC_VER))
#ifdef BT_USE_FREEGLUT
//return from glutMainLoop(), detect memory leaks etc.
glutLeaveMainLoop();
#else