note for non-fixed timestep

This commit is contained in:
Noel Berry 2020-08-27 20:24:36 -07:00
parent 14ffdc4151
commit 2ad615ce44

View File

@ -94,6 +94,7 @@ bool App::run(const Config* c)
Internal::Platform::frame();
// update at a fixed timerate
// TODO: allow a non-fixed step update?
{
uint64_t time_target = (uint64_t)((1.0f / app_config.target_framerate) * 1000);
uint64_t time_curr = Internal::Platform::time();