X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=0efd7485d9486ad58dd76ff10f2143eb08dafff3;hp=e932742e7e1e86bc6338affcb077b65c46d4941f;hb=c46074c1fc66612c5ea0bfa1f4441491e296703d;hpb=4a0863f343fa6f68639759494e3c0f0ab8ae2a76 diff --git a/src/main.cpp b/src/main.cpp index e932742..0efd748 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -182,10 +182,14 @@ void updateFPSCounters() 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; + } } }