Skip to content

Commit

Permalink
Set repr(C) on ShaderKey
Browse files Browse the repository at this point in the history
  • Loading branch information
redstrate committed Apr 27, 2024
1 parent 3d6bb3a commit f2c360f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mtrl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ struct ColorSetDyeInfo {

#[binrw]
#[derive(Debug)]
#[repr(C)]
#[allow(dead_code)]
pub struct ShaderKey {
pub category: u32,
Expand Down

0 comments on commit f2c360f

Please sign in to comment.