diff options
author | 2020-05-22 19:17:07 +0200 | |
---|---|---|
committer | 2020-05-22 19:17:07 +0200 | |
commit | d6bf8955dbca03898e379aae376d91677bb4d223 (patch) | |
tree | ea40053bd51f0c4b02f40ec3b8f0e00b6d2271c0 /glow/src/triangle.rs | |
parent | 1dd79c4697ce39589bea84142334b3cbd242fb59 (diff) | |
download | iced-d6bf8955dbca03898e379aae376d91677bb4d223.tar.gz iced-d6bf8955dbca03898e379aae376d91677bb4d223.tar.bz2 iced-d6bf8955dbca03898e379aae376d91677bb4d223.zip |
Use published `glow` and `glow_glyph` versions
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 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, ); |