mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
parent
dbf519c1d7
commit
07e772814f
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ impl App {
|
|||
}
|
||||
|
||||
pub fn update(&mut self) {
|
||||
#[cfg(feature = "trace")]
|
||||
let bevy_frame_update_span = info_span!("frame");
|
||||
#[cfg(feature = "trace")]
|
||||
let _bevy_frame_update_guard = bevy_frame_update_span.enter();
|
||||
self.schedule.run(&mut self.world);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue