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