i don't know how to count
parent
977c1baca3
commit
b64c0940b2
|
@ -90,7 +90,7 @@ pub fn initialize_defaults(mut commands: Commands, gl: Res<GL>)
|
|||
gl.0.vertex_attrib_pointer_f32(0, 3, glow::FLOAT, false, size*5, 0);
|
||||
|
||||
// Texture Coordinates
|
||||
gl.0.enable_vertex_attrib_array(2);
|
||||
gl.0.enable_vertex_attrib_array(1);
|
||||
gl.0.vertex_attrib_pointer_f32(1, 2, glow::FLOAT, false, size*5, size*3);
|
||||
|
||||
// unbind buffers and arrays
|
||||
|
|
Loading…
Reference in New Issue