mirror of
https://github.com/a-b-street/abstreet.git
synced 2025-01-02 03:18:55 +03:00
fixup to 1d46845d
This commit is contained in:
parent
11cefb118a
commit
535ebe127c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user