Keep StatsWindow fps rendered stable (#6368)
This commit is contained in:
@@ -18,7 +18,7 @@ void SohStatsWindow::DrawElement() {
|
|||||||
#else
|
#else
|
||||||
ImGui::Text("Platform: Unknown");
|
ImGui::Text("Platform: Unknown");
|
||||||
#endif
|
#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::PopStyleColor();
|
||||||
ImGui::PopFont();
|
ImGui::PopFont();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user