From 5c20a5cb20996418b05d4d8d672e72f8ad27c40c Mon Sep 17 00:00:00 2001 From: Eric Veilleux Date: Mon, 8 Apr 2024 13:06:26 -0400 Subject: [PATCH] Fix issue #69 with JonahPlusPlus's solution (#70) Closes #69. --- src/pipeline.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pipeline.rs b/src/pipeline.rs index 8a41692..417abe8 100644 --- a/src/pipeline.rs +++ b/src/pipeline.rs @@ -145,8 +145,8 @@ impl Plugin for AtmospherePipelinePlugin { Render, ( event_update_system::.in_set(RenderSet::Prepare), - prepare_atmosphere_assets.in_set(RenderSet::PrepareAssets), - queue_atmosphere_bind_group.in_set(RenderSet::Queue), + prepare_atmosphere_resources.in_set(RenderSet::PrepareResources), + prepare_atmosphere_bind_group.in_set(RenderSet::PrepareBindGroups), ), ); @@ -323,7 +323,7 @@ pub const ATMOSPHERE_IMAGE_TEXTURE_DESCRIPTOR: fn(u32) -> TextureDescriptor<'sta }; /// Whenever settings changed, the texture view needs to be updated to use the new texture. -fn prepare_atmosphere_assets( +fn prepare_atmosphere_resources( mut update_events: ResMut>, mut atmosphere_image: ResMut, gpu_images: Res>, @@ -356,7 +356,7 @@ fn prepare_atmosphere_assets( /// Queue the generated bind groups for the compute pipeline. #[allow(clippy::too_many_arguments)] -fn queue_atmosphere_bind_group( +fn prepare_atmosphere_bind_group( mut commands: Commands, mut cached_metadata: ResMut, gpu_images: Res>,