gpu: VertexBufferLayout.attributes field needs to be a pointer to multiple structures.
This commit is contained in:
parent
6d8e39a247
commit
d0782d24d1
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ pub const VertexBufferLayout = extern struct {
|
||||||
array_stride: u64,
|
array_stride: u64,
|
||||||
step_mode: VertexStepMode,
|
step_mode: VertexStepMode,
|
||||||
attribute_count: u32,
|
attribute_count: u32,
|
||||||
attributes: *const VertexAttribute,
|
attributes: [*]const VertexAttribute,
|
||||||
};
|
};
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue