diff --git a/src/mtrl.rs b/src/mtrl.rs index f8ed459..37f7b1b 100644 --- a/src/mtrl.rs +++ b/src/mtrl.rs @@ -61,6 +61,7 @@ struct ColorSetDyeInfo { #[binrw] #[derive(Debug)] +#[repr(C)] #[allow(dead_code)] pub struct ShaderKey { pub category: u32,