fps counter

This commit is contained in:
Eduardo Bart
2011-04-07 05:38:29 -03:00
parent 937070b3e0
commit f3eaf3f726
8 changed files with 97 additions and 38 deletions

View File

@@ -101,7 +101,7 @@ int main(int argc, const char *argv[])
640, 480,
g_configs.getBoolean("window maximized"));
Platform::setWindowTitle("OTClient");
Platform::setVsync();
//Platform::setVsync();
// init engine
g_engine.init();
@@ -113,6 +113,7 @@ int main(int argc, const char *argv[])
Platform::showWindow();
//Platform::hideMouseCursor();
g_engine.enableFpsCounter();
// main loop, run everything
g_engine.run();