gpu: VertexBufferLayout.attributes field needs to be a pointer to multiple structures.

This commit is contained in:
Michal Ziulek 2022-04-09 19:17:53 +02:00 committed by Stephen Gutekanst
parent 6d8e39a247
commit d0782d24d1

View file

@ -83,7 +83,7 @@ pub const VertexBufferLayout = extern struct {
array_stride: u64,
step_mode: VertexStepMode,
attribute_count: u32,
attributes: *const VertexAttribute,
attributes: [*]const VertexAttribute,
};
test {