Skip to content

Commit

Permalink
minor v2019 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wgreenberg committed Nov 12, 2024
1 parent 00dfacf commit 6c4209d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/src/unity/types/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ pub struct Texture2D {
#[deku(count = "(4 - deku::byte_offset % 4) % 4")] _alignment0: Vec<u8>,
pub forced_fallback_format: i32,
pub downscale_fallback: u8,
#[deku(cond = "version >= UnityVersion::V2020_3_16f1")]
pub is_alpha_channel_optional: u8,
#[deku(count = "(4 - deku::byte_offset % 4) % 4")] _alignment1: Vec<u8>,
pub width: i32,
Expand Down

0 comments on commit 6c4209d

Please sign in to comment.