This commit is contained in:
MihailRis
2024-12-09 01:12:41 +03:00
parent 5fe5c6b27a
commit 5ffc054d75
16 changed files with 212 additions and 126 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ std::shared_ptr<UINode> create_debug_panel(
static std::wstring fpsString = L"";
panel->listenInterval(0.016f, [engine]() {
fps = 1.0f / engine->getDelta();
fps = 1.0f / engine->getTime().getDelta();
fpsMin = std::min(fps, fpsMin);
fpsMax = std::max(fps, fpsMax);
});