Skip to content

Commit

Permalink
enums again
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-rsm-McKenzie committed Jan 24, 2024
1 parent e4f1159 commit bf5e9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fo4/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ impl<'bytes> File<'bytes> {
misc_flags: if (dx10.flags & 1) == 0 {
0
} else {
TEX_MISC_FLAG::TEX_MISC_TEXTURECUBE.try_into()?
TEX_MISC_FLAG::TEX_MISC_TEXTURECUBE.bits().try_into()?
},
misc_flags2: 0,
format: u32::from(dx10.format).into(),
Expand Down

0 comments on commit bf5e9e6

Please sign in to comment.