Don't ask for ResMut in queue_view_auto_exposure_pipelines (#14762)

This was creating a spurious ambiguity: `PipelineCache` uses interior
mutability.

Spotted as part of #7386.
This commit is contained in:
Alice Cecile 2024-08-15 13:15:31 -04:00 committed by GitHub
parent ad5e8355b5
commit dbf0d7071e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,7 +110,7 @@ impl FromWorld for AutoExposureResources {
fn queue_view_auto_exposure_pipelines(
mut commands: Commands,
pipeline_cache: ResMut<PipelineCache>,
pipeline_cache: Res<PipelineCache>,
mut compute_pipelines: ResMut<SpecializedComputePipelines<AutoExposurePipeline>>,
pipeline: Res<AutoExposurePipeline>,
view_targets: Query<(Entity, &AutoExposureSettings)>,