1
0
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:
Timmy Sjöstedt 2013-07-02 12:20:18 +02:00
parent d796dea97e
commit d8d12f7cd5

View File

@ -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();