last_Second = tickCountMicro();
-#ifdef FPSUPS
- cout << "ups:\t" << ups << endl;
- cout << "fps:\t" << fps << endl;
-#endif
+ if(cfg::showFPS())
+ {
+ cout << "fps:\t" << fps << endl;
+ }
+ if(cfg::showUPS())
+ {
+ cout << "ups:\t" << ups << endl;
+ }
}
}