mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
Fancy clock restart returned data syntax
This commit is contained in:
parent
d796dea97e
commit
d8d12f7cd5
@ -152,8 +152,7 @@ int main(int argc, char *argv[])
|
||||
handleEvent(event);
|
||||
}
|
||||
|
||||
update(clock.getElapsedTime().asSeconds());
|
||||
clock.restart();
|
||||
update(clock.restart().asSeconds());
|
||||
|
||||
render();
|
||||
window.display();
|
||||
|
Loading…
Reference in New Issue
Block a user