parent
dbf519c1d7
commit
07e772814f
@ -55,6 +55,10 @@ impl App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn update(&mut self) {
|
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);
|
self.schedule.run(&mut self.world);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user