perf: Only track FPS if debug is enabled
This commit is contained in:
parent
4ea16b3468
commit
42b7bf0fc2
1 changed files with 1 additions and 1 deletions
|
|
@ -4351,7 +4351,7 @@ int main(int argc , char* argv[]) {
|
||||||
|
|
||||||
if (show_menu) Menu_loop();
|
if (show_menu) Menu_loop();
|
||||||
|
|
||||||
trackFPS();
|
if (show_debug) trackFPS();
|
||||||
}
|
}
|
||||||
|
|
||||||
Menu_quit();
|
Menu_quit();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue