Fix Vertex buffer size
This commit is contained in:
parent
503288733c
commit
c922bc0855
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ impl Vertex {
|
|||
format: wgpu::VertexFormat::Float32x3,
|
||||
},
|
||||
wgpu::VertexAttribute {
|
||||
offset: 20,
|
||||
offset: 24,
|
||||
shader_location: 2,
|
||||
format: wgpu::VertexFormat::Float32x3,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue