debug: Fixup feature compilation

This commit is contained in:
Victoria Brekenfeld 2025-01-03 20:09:13 +01:00 committed by Victoria Brekenfeld
parent 6be5009b37
commit 3926aee5b6
3 changed files with 10 additions and 2 deletions

View file

@ -161,6 +161,7 @@ pub fn fps_ui<'a>(
}
});
}
ui.label(egui::RichText::new(format!("VRR: {}", timings.vrr())).code());
ui.label(egui::RichText::new(format!("FPS: {:>7.3}", avg_fps)).heading());
ui.label("Render Times:");
ui.label(egui::RichText::new(format!("avg: {:>7.6}", avg)).code());