i don't know how to count

pull/4/head
Milk.H 2024-04-26 20:37:49 +01:00
parent 977c1baca3
commit b64c0940b2
Signed by: milk
GPG Key ID: 94C7CB70FFF80593
1 changed files with 1 additions and 1 deletions

View File

@ -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