diff --git a/Demos/AllBulletDemos/Main.cpp b/Demos/AllBulletDemos/Main.cpp index df2ffda86..c18f8e53a 100644 --- a/Demos/AllBulletDemos/Main.cpp +++ b/Demos/AllBulletDemos/Main.cpp @@ -107,14 +107,6 @@ void Timer(int) void SimulationLoop() { - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - - //test->SetTextLine(30); - //test->Step(&settings); - //sync debugging options if (gDrawAabb) { demo->setDebugMode(demo->getDebugMode() |btIDebugDraw::DBG_DrawAabb); @@ -158,11 +150,6 @@ void SimulationLoop() else demo->displayCallback(); - -/// DrawString(5, 15, entry->name); - - glutSwapBuffers(); - if (testSelection != testIndex) { testIndex = testSelection;