diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-03 18:31:13 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-03 18:31:13 +0000 |
commit | 5388c37bdc040ba50d21ec16a01f399d20592a90 (patch) | |
tree | 9c43947b1b25d7d7e40e5c3cada5ff1f48cd8d61 /src/server | |
parent | 5d1e18b796d41e035d0d3e828cc6db54ed21a4b6 (diff) |
server frame time, rotation snap, flares
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/server.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/server.cc b/src/server/server.cc index 8dcbb65..69e8923 100644 --- a/src/server/server.cc +++ b/src/server/server.cc @@ -79,11 +79,14 @@ void Server::run() timer.mark(); frame(elapsed); elapsed = timer.elapsed(); - + + /* if (elapsed < server_framerate) { sys::sleep(server_framerate - elapsed); + elapsed = server_framerate; } + */ } } |