Update hecl; disable MP1_VARIABLE_DELTA_TIME

This commit is contained in:
Luke Street 2020-04-13 15:01:57 -04:00
parent 6806d4914c
commit 654e3e705e
3 changed files with 3 additions and 3 deletions

View File

@ -844,7 +844,7 @@ bool CMain::Proc() {
m_firstFrame = false; m_firstFrame = false;
} else { } else {
using delta_duration = std::chrono::duration<float, std::ratio<1>>; using delta_duration = std::chrono::duration<float, std::ratio<1>>;
dt = std::min(std::chrono::duration_cast<delta_duration>(now - m_prevFrameTime).count(), dt); dt = std::min(std::chrono::duration_cast<delta_duration>(now - m_prevFrameTime).count(), 1 / 30.f);
} }
m_prevFrameTime = now; m_prevFrameTime = now;
#endif #endif

View File

@ -4,7 +4,7 @@
#define MP1_USE_BOO 0 #define MP1_USE_BOO 0
#endif #endif
#ifndef MP1_VARIABLE_DELTA_TIME #ifndef MP1_VARIABLE_DELTA_TIME
#define MP1_VARIABLE_DELTA_TIME 1 #define MP1_VARIABLE_DELTA_TIME 0
#endif #endif
#include "IMain.hpp" #include "IMain.hpp"

2
hecl

@ -1 +1 @@
Subproject commit f64ed44fe8164b06ed5bef6344d9f743e2c5d638 Subproject commit 29c768f8231fac3b1c6812829faa42457e98b47f