summaryrefslogtreecommitdiffstats
path: root/glow/src/triangle.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--glow/src/triangle.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/glow/src/triangle.rs b/glow/src/triangle.rs
index 325359de..ee7faf83 100644
--- a/glow/src/triangle.rs
+++ b/glow/src/triangle.rs
@@ -44,7 +44,7 @@ impl Pipeline {
let transform: [f32; 16] = Transformation::identity().into();
gl.uniform_matrix_4_f32_slice(
- Some(&transform_location),
+ Some(transform_location),
false,
&transform,
);
@@ -182,7 +182,7 @@ impl Pipeline {
if self.current_transform != transform {
let matrix: [f32; 16] = transform.into();
gl.uniform_matrix_4_f32_slice(
- Some(&self.transform_location),
+ Some(self.transform_location),
false,
&matrix,
);