Skip to content

Commit

Permalink
Changed &mut PipelineCache to &PipelineCache (bevyengine#7598)
Browse files Browse the repository at this point in the history
This was missed in bevyengine#7205.
Should be fixed now. 😄 

## Migration Guide
- `SpecializedComputePipelines::specialize` now takes a `&PipelineCache` instead of a `&mut PipelineCache`
  • Loading branch information
kurtkuehnert authored and myreprise1 committed Feb 15, 2023
1 parent bf60a89 commit 52a6176
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl<S: SpecializedComputePipeline> Default for SpecializedComputePipelines<S> {
impl<S: SpecializedComputePipeline> SpecializedComputePipelines<S> {
pub fn specialize(
&mut self,
cache: &mut PipelineCache,
cache: &PipelineCache,
specialize_pipeline: &S,
key: S::Key,
) -> CachedComputePipelineId {
Expand Down

0 comments on commit 52a6176

Please sign in to comment.