diff --git a/Runtime/CMain.cpp b/Runtime/CMain.cpp index be6bd36bf..c23abf78b 100644 --- a/Runtime/CMain.cpp +++ b/Runtime/CMain.cpp @@ -447,7 +447,7 @@ public: using delta_duration = std::chrono::duration>; realDt = std::chrono::duration_cast(now - m_prevFrameTime).count(); if (m_cvarCommons.m_variableDt->toBoolean()) { - dt = std::max(realDt, 1 / 30.f); + dt = std::min(realDt, 1 / 30.f); } } m_prevFrameTime = now; diff --git a/extern/imgui b/extern/imgui index 8877eab39..23a15834f 160000 --- a/extern/imgui +++ b/extern/imgui @@ -1 +1 @@ -Subproject commit 8877eab3933c7031e2b41f372b852618db219489 +Subproject commit 23a15834fa23226bd26a17f5142b00678617fec4