Use chain() for system dependency (#17387)
# Objective Tiny PR to use chain() for system dependency, which is shorter/clearer
This commit is contained in:
parent
237c6b207e
commit
64ab33c6a7
@ -474,10 +474,8 @@ unsafe fn initialize_render_app(app: &mut App) {
|
|||||||
// This set applies the commands from the extract schedule while the render schedule
|
// This set applies the commands from the extract schedule while the render schedule
|
||||||
// is running in parallel with the main app.
|
// is running in parallel with the main app.
|
||||||
apply_extract_commands.in_set(RenderSet::ExtractCommands),
|
apply_extract_commands.in_set(RenderSet::ExtractCommands),
|
||||||
(
|
(PipelineCache::process_pipeline_queue_system, render_system)
|
||||||
PipelineCache::process_pipeline_queue_system.before(render_system),
|
.chain()
|
||||||
render_system,
|
|
||||||
)
|
|
||||||
.in_set(RenderSet::Render),
|
.in_set(RenderSet::Render),
|
||||||
despawn_temporary_render_entities.in_set(RenderSet::PostCleanup),
|
despawn_temporary_render_entities.in_set(RenderSet::PostCleanup),
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user