remove unnecessary fps debug log
This commit is contained in:
parent
4587ba7266
commit
e4a5b2df6f
1 changed files with 0 additions and 7 deletions
|
|
@ -228,13 +228,6 @@ pxl8_result pxl8_update(pxl8* sys) {
|
|||
|
||||
if (game->fps_accumulator >= 1.0f) {
|
||||
game->fps = (f32)game->fps_frame_count / game->fps_accumulator;
|
||||
if (!game->repl_mode) {
|
||||
pxl8_debug(
|
||||
"FPS: %.1f (%.2fms)",
|
||||
game->fps,
|
||||
(game->fps_accumulator / game->fps_frame_count) * 1000.0f
|
||||
);
|
||||
}
|
||||
game->fps_accumulator = 0.0f;
|
||||
game->fps_frame_count = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue