Skip to content

Commit 9ef840e

Browse files
committed
Changed &mut PipelineCache to &PipelineCache (#7598)
This was missed in #7205. Should be fixed now. 😄 ## Migration Guide - `SpecializedComputePipelines::specialize` now takes a `&PipelineCache` instead of a `&mut PipelineCache`
1 parent cd447fb commit 9ef840e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_render/src/render_resource/pipeline_specializer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ impl<S: SpecializedComputePipeline> Default for SpecializedComputePipelines<S> {
6363
impl<S: SpecializedComputePipeline> SpecializedComputePipelines<S> {
6464
pub fn specialize(
6565
&mut self,
66-
cache: &mut PipelineCache,
66+
cache: &PipelineCache,
6767
specialize_pipeline: &S,
6868
key: S::Key,
6969
) -> CachedComputePipelineId {

0 commit comments

Comments
 (0)