Update glow to 0.5 in iced_glow

This commit is contained in:
Héctor Ramón Jiménez 2020-07-27 23:01:30 +02:00
parent 55d2c5886f
commit 795da598e0
3 changed files with 10 additions and 10 deletions

View file

@ -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,
);