Fix build problem
This commit is contained in:
parent
5dfe14ebc4
commit
5c5fe00b27
|
@ -63,7 +63,7 @@ where
|
||||||
) -> GroundVertexArray<D> {
|
) -> GroundVertexArray<D> {
|
||||||
let vertex_array = device.create_vertex_array();
|
let vertex_array = device.create_vertex_array();
|
||||||
|
|
||||||
let position_attr = device.get_vertex_attr(&ground_program.program, "Position");
|
let position_attr = device.get_vertex_attr(&ground_program.program, "Position").unwrap();
|
||||||
|
|
||||||
device.bind_vertex_array(&vertex_array);
|
device.bind_vertex_array(&vertex_array);
|
||||||
device.use_program(&ground_program.program);
|
device.use_program(&ground_program.program);
|
||||||
|
|
Loading…
Reference in New Issue