mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
fix create_surfaces system ordering (#11747)
# Objective - System `create_surfaces` needs to happen before `prepare_windows` or we lose one frame at startup ## Solution - Specify the ordering, remove the set as it doesn't mean anything there
This commit is contained in:
parent
4c15dd0fc5
commit
75d383fa1b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ impl Plugin for WindowRenderPlugin {
|
|||
Render,
|
||||
create_surfaces
|
||||
.run_if(need_new_surfaces)
|
||||
.in_set(RenderSet::PrepareAssets),
|
||||
.before(prepare_windows),
|
||||
)
|
||||
.add_systems(Render, prepare_windows.in_set(RenderSet::ManageViews));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue