moved mesh buffers into data object
This commit is contained in:
@@ -36,7 +36,7 @@ impl Game for TestGame<'_> {
|
||||
game_data.recreate_pipeline = true;
|
||||
}
|
||||
|
||||
if self.input.button_down("print_framerate") {
|
||||
if self.input.button_just_pressed("print_framerate") {
|
||||
println!("{:.0} ms / {:.0} FPS", frame_time * 1000.0, 1.0 / frame_time);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user