diff options
Diffstat (limited to '')
| -rw-r--r-- | glow/src/triangle.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/glow/src/triangle.rs b/glow/src/triangle.rs index fff14910..68ebcb00 100644 --- a/glow/src/triangle.rs +++ b/glow/src/triangle.rs @@ -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);                      }                  } | 
