Fix lints by clippy
This commit is contained in:
parent
edce457365
commit
7e22e2d452
9 changed files with 20 additions and 28 deletions
|
|
@ -137,12 +137,12 @@ impl Pipeline {
|
|||
|
||||
match mesh.style {
|
||||
mesh::Style::Solid(color) => {
|
||||
self.programs.solid.use_program(gl, &color, &transform);
|
||||
self.programs.solid.use_program(gl, color, &transform);
|
||||
}
|
||||
mesh::Style::Gradient(gradient) => {
|
||||
self.programs
|
||||
.gradient
|
||||
.use_program(gl, &gradient, &transform);
|
||||
.use_program(gl, gradient, &transform);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue