use freeglut by default under Windows

This commit is contained in:
ejcoumans
2007-12-14 02:48:53 +00:00
parent 38349b5af4
commit 9e25108b06
8 changed files with 44 additions and 21 deletions

View File

@@ -649,6 +649,7 @@ void CcdPhysicsDemo::exitPhysics()
for (int j=0;j<m_collisionShapes.size();j++)
{
btCollisionShape* shape = m_collisionShapes[j];
m_collisionShapes[j] = 0;
delete shape;
}

View File

@@ -29,5 +29,8 @@ int main(int argc,char** argv)
ccdDemo->getDynamicsWorld()->setDebugDrawer(&gDebugDrawer);
return glutmain(argc, argv,640,480,"Bullet Physics Demo. http://bullet.sf.net",ccdDemo);
glutmain(argc, argv,640,480,"Bullet Physics Demo. http://bullet.sf.net",ccdDemo);
delete ccdDemo;
}