diff --git a/crates/bevy_render/src/draw.rs b/crates/bevy_render/src/draw.rs index ee72e045f5d260..8c69d3f7b2b185 100644 --- a/crates/bevy_render/src/draw.rs +++ b/crates/bevy_render/src/draw.rs @@ -39,7 +39,7 @@ pub enum RenderCommand { SetPushConstants { stages: BindingShaderStage, offset: u32, - data: Arc<[u8]>, + data: Vec, }, DrawIndexed { indices: Range, @@ -112,7 +112,7 @@ impl Draw { }); } - pub fn set_push_constants(&mut self, stages: BindingShaderStage, offset: u32, data: Arc<[u8]>) { + pub fn set_push_constants(&mut self, stages: BindingShaderStage, offset: u32, data: Vec) { self.render_command(RenderCommand::SetPushConstants { stages, offset,