mirror of https://github.com/AxioDL/metaforce.git
Yeah, I'm an idiot, std::min is the correct one
This commit is contained in:
parent
7a7af73c94
commit
0b523f98c3
|
@ -447,7 +447,7 @@ public:
|
|||
using delta_duration = std::chrono::duration<float, std::ratio<1>>;
|
||||
realDt = std::chrono::duration_cast<delta_duration>(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;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8877eab3933c7031e2b41f372b852618db219489
|
||||
Subproject commit 23a15834fa23226bd26a17f5142b00678617fec4
|
Loading…
Reference in New Issue