update to bevy 0.14

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2024-07-05 03:19:02 +02:00
parent 5e0c09eaee
commit 81779bd76e
21 changed files with 850 additions and 400 deletions

View File

@@ -128,7 +128,7 @@ impl Plugin for XrSessionPlugin {
.in_set(XrHandleEvents),
);
app.world
app.world_mut()
.resource_mut::<MainScheduleOrder>()
.labels
.insert(0, XrFirst.intern());
@@ -139,7 +139,7 @@ impl Plugin for XrSessionPlugin {
}
fn finish(&self, app: &mut App) {
if app.get_sub_app(RenderApp).is_err() {
if app.get_sub_app(RenderApp).is_none() {
return;
}