example browser: restore on-screen text

This commit is contained in:
Lunkhound
2016-12-20 01:14:08 -08:00
parent 1deb3c1666
commit f7ccf7e5a7
2 changed files with 23 additions and 19 deletions

View File

@@ -52,6 +52,8 @@ struct CommonRigidBodyMTBase : public CommonExampleInterface
}
}
virtual void drawScreenText();
virtual void renderScene();
virtual void physicsDebugDraw(int debugFlags);
virtual void exitPhysics()
@@ -418,19 +420,7 @@ struct CommonRigidBodyMTBase : public CommonExampleInterface
return body;
}
virtual void renderScene()
{
{
m_guiHelper->syncPhysicsToGraphics(m_dynamicsWorld);
}
{
m_guiHelper->render(m_dynamicsWorld);
}
}
};
#endif //#define COMMON_RIGID_BODY_MT_BASE_H