1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02: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();