summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 50c7199..5863ecc 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -622,6 +622,8 @@ void RecordImGuiSceneEditor() {
ImGui::End();
return;
}
+ ImGuiIO &io = ImGui::GetIO();
+ ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate);
if (ImGui::Button("Create Entity Type")) {
ImGui::OpenPopup("CreateEntityType");
}