Skip to content

Commit

Permalink
Fix misplaced label
Browse files Browse the repository at this point in the history
  • Loading branch information
alec-deason committed Mar 5, 2021
1 parent 638995e commit 2554629
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions crates/bevy_render/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,17 @@ impl Plugin for RenderPlugin {
.init_resource::<RenderResourceBindings>()
.init_resource::<AssetRenderResourceBindings>()
.init_resource::<ActiveCameras>()
.add_system_to_stage(CoreStage::PreUpdate, draw::clear_draw_system.system())
.add_system_to_stage(
CoreStage::PreUpdate,
draw::clear_draw_system
.system()
.label(RenderSystem::ClearDraw),
)
.add_system_to_stage(
CoreStage::PostUpdate,
camera::active_cameras_system
.system()
.label(RenderSystem::ClearDraw),
.label(RenderSystem::ActiveCameras),
)
.add_system_to_stage(
CoreStage::PostUpdate,
Expand Down

0 comments on commit 2554629

Please sign in to comment.