Keep StatsWindow fps rendered stable (#6368)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user