diff --git a/src/primitives/mod.rs b/src/primitives/mod.rs index 0774656..110361c 100644 --- a/src/primitives/mod.rs +++ b/src/primitives/mod.rs @@ -65,6 +65,7 @@ pub struct DrawCall { } #[derive(Copy, Clone)] +#[repr(C)] pub struct Vertex { pub position: [f32; 3], pub texcoord: [f32; 2],