Fix fps table alignment
This commit is contained in:
parent
41099e3481
commit
c8e455053b
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ mod state;
|
|||
mod text_renderer;
|
||||
mod texture;
|
||||
mod time;
|
||||
mod view;
|
||||
mod vertex;
|
||||
mod view;
|
||||
mod world;
|
||||
|
||||
use std::time::{Duration, Instant};
|
||||
|
@ -105,7 +105,7 @@ fn main() {
|
|||
let fps_min = 1_000_000 / frametime_max.as_micros();
|
||||
|
||||
println!(
|
||||
"{:>4} frames | frametime avg={:>5.2}ms min={:>5.2}ms max={:>5.2}ms | fps avg={:>4} min={:>4} max={:>4} | {:>8} tris",
|
||||
"{:>4} frames | frametime avg={:>5.2}ms min={:>5.2}ms max={:>5.2}ms | fps avg={:>5} min={:>5} max={:>5} | {:>8} tris",
|
||||
frames, frametime.as_secs_f32() * 1000.0, frametime_min.as_secs_f32() * 1000.0, frametime_max.as_secs_f32() * 1000.0, fps, fps_min, fps_max, triangle_count,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue