mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-28 16:58:57 +08:00
note for non-fixed timestep
This commit is contained in:
parent
14ffdc4151
commit
2ad615ce44
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user