From 535ebe127c9b1ca969a8989099ccba9f21a738f3 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Thu, 13 Aug 2020 14:14:26 -0700 Subject: [PATCH] fixup to 1d46845d --- ezgui/src/backend_wasm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ezgui/src/backend_wasm.rs b/ezgui/src/backend_wasm.rs index 208e23c02d..c83fb48c9b 100644 --- a/ezgui/src/backend_wasm.rs +++ b/ezgui/src/backend_wasm.rs @@ -126,13 +126,13 @@ impl<'a> GfxCtxInnards<'a> { .get_uniform_location(*self.program, "transform") .unwrap(); self.gl - .uniform_3_f32_slice(Some(transform_loc), &uniforms.transform); + .uniform_3_f32_slice(Some(&transform_loc), &uniforms.transform); let window_loc = self .gl .get_uniform_location(*self.program, "window") .unwrap(); self.gl - .uniform_3_f32_slice(Some(window_loc), &uniforms.window); + .uniform_3_f32_slice(Some(&window_loc), &uniforms.window); self.gl.bind_vertex_array(Some(obj.vert_array)); self.gl