Fix Vertex buffer size

This commit is contained in:
Sijmen 2021-05-31 14:00:57 +02:00
parent 503288733c
commit c922bc0855
Signed by: vijfhoek
GPG key ID: 82D05C89B28B0DAE

View file

@ -25,7 +25,7 @@ impl Vertex {
format: wgpu::VertexFormat::Float32x3,
},
wgpu::VertexAttribute {
offset: 20,
offset: 24,
shader_location: 2,
format: wgpu::VertexFormat::Float32x3,
},