From f2c360f7eabef8adab3166e4fb2a2d44db797dbf Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 26 Apr 2024 22:36:40 -0400 Subject: [PATCH] Set repr(C) on ShaderKey --- src/mtrl.rs | 1 + 1 file changed, 1 insertion(+) 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,