Keep StatsWindow fps rendered stable (#6368)

This commit is contained in:
Philip Dubé
2026-03-18 01:21:09 +00:00
committed by GitHub
parent 908ecbb795
commit e7dce8e055

View File

@@ -18,7 +18,7 @@ void SohStatsWindow::DrawElement() {
#else
ImGui::Text("Platform: Unknown");
#endif
ImGui::Text("Status: %.3f ms/frame (%.1f FPS)", deltatime * 1000.0f, framerate);
ImGui::Text("Status: %0.3f ms/frame (%0.1f FPS)", deltatime * 1000.0f, framerate);
ImGui::PopStyleColor();
ImGui::PopFont();
}