1786006327
This commit is contained in:
@@ -46,7 +46,7 @@ impl Trekstor {
|
|||||||
sleep(self.update_timestep - dt);
|
sleep(self.update_timestep - dt);
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("FPS: {}", 1.0 / dt.as_secs_f64());
|
// println!("FPS: {}", 1.0 / dt.as_secs_f64());
|
||||||
|
|
||||||
if !update(&mut self.screen, &self.input) {
|
if !update(&mut self.screen, &self.input) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user