diff options
author | 2020-07-27 23:01:30 +0200 | |
---|---|---|
committer | 2020-07-27 23:01:30 +0200 | |
commit | 795da598e0096ce557076db5f76c036290714188 (patch) | |
tree | 230e5af66950a1dfb88c1177c7bcc761838f1b43 /glow/src/triangle.rs | |
parent | 55d2c5886f8f0859e3862cd0fa1fd34902d2138f (diff) | |
download | iced-795da598e0096ce557076db5f76c036290714188.tar.gz iced-795da598e0096ce557076db5f76c036290714188.tar.bz2 iced-795da598e0096ce557076db5f76c036290714188.zip |
Update `glow` to `0.5` in `iced_glow`
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 eefd1c1f..9202bcb2 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, ); |