From ff63a8b7cac0f44d7db011a4ddbd8e3a9d9ccc71 Mon Sep 17 00:00:00 2001 From: Mike Hsu Date: Sun, 29 Jan 2023 11:07:35 -0800 Subject: [PATCH] remove some references to stage --- crates/bevy_render/src/lib.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crates/bevy_render/src/lib.rs b/crates/bevy_render/src/lib.rs index e65ed69f5f63e..ccc9573fe8631 100644 --- a/crates/bevy_render/src/lib.rs +++ b/crates/bevy_render/src/lib.rs @@ -265,7 +265,7 @@ impl Plugin for RenderPlugin { { #[cfg(feature = "trace")] let _stage_span = - bevy_utils::tracing::info_span!("stage", name = "reserve_and_flush") + bevy_utils::tracing::info_span!("reserve_and_flush") .entered(); // reserve all existing main world entities for use in render_app @@ -288,13 +288,7 @@ impl Plugin for RenderPlugin { } // run extract schedule - { - #[cfg(feature = "trace")] - let _stage_span = - bevy_utils::tracing::info_span!("stage", name = "extract").entered(); - - extract(main_world, render_app); - } + extract(main_world, render_app); })); }