Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
remove mut when drawing with render pass
Browse files Browse the repository at this point in the history
  • Loading branch information
coderedart committed Aug 18, 2023
1 parent 2a315ee commit fbafd89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/egui_render_wgpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egui_render_wgpu"
version = "0.4.7"
version = "0.4.8"
edition = "2021"
description = "egui rendering backend using wgpu"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_render_wgpu/src/painter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub enum EguiDrawCalls {
}
impl EguiPainter {
pub fn draw_egui_with_renderpass<'rpass>(
&'rpass mut self,
&'rpass self,
rpass: &mut RenderPass<'rpass>,
draw_calls: Vec<EguiDrawCalls>,
) {
Expand Down

0 comments on commit fbafd89

Please sign in to comment.