Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Mar 14, 2022
1 parent 3f9e3c7 commit bff72bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion egui_glium/src/painter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl Painter {
{
match primitive {
Primitive::Mesh(mesh) => {
self.paint_mesh(target, display, pixels_per_point, clip_rect, &mesh);
self.paint_mesh(target, display, pixels_per_point, clip_rect, mesh);
}
Primitive::Callback(_) => {
panic!("Custom rendering callbacks are not implemented in egui_glium");
Expand Down
2 changes: 1 addition & 1 deletion egui_glow/src/painter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ impl Painter {

match primitive {
Primitive::Mesh(mesh) => {
self.paint_mesh(&mesh);
self.paint_mesh(mesh);
}
Primitive::Callback(callback) => {
if callback.rect.is_positive() {
Expand Down

0 comments on commit bff72bf

Please sign in to comment.