remove unnecessary fps debug log

This commit is contained in:
asrael 2025-12-03 11:45:45 -06:00
parent 4587ba7266
commit e4a5b2df6f
No known key found for this signature in database
GPG key ID: 2786557804DFAE24

View file

@ -228,13 +228,6 @@ pxl8_result pxl8_update(pxl8* sys) {
if (game->fps_accumulator >= 1.0f) { if (game->fps_accumulator >= 1.0f) {
game->fps = (f32)game->fps_frame_count / game->fps_accumulator; 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_accumulator = 0.0f;
game->fps_frame_count = 0; game->fps_frame_count = 0;
} }