1786005690
This commit is contained in:
@@ -41,7 +41,7 @@ impl Trekstor {
|
||||
self.current_time = Instant::now();
|
||||
let dt = self.current_time - self.last_time;
|
||||
|
||||
println!("FPS: {}", dt.as_millis());
|
||||
println!("FPS: {}", 1.0 / dt.as_secs_f64());
|
||||
|
||||
if !update(&mut self.screen, &self.input) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user