mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
Keep StatsWindow fps rendered stable (#6368)
This commit is contained in:
parent
908ecbb795
commit
e7dce8e055
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue