all: use explicit backing integers for packed structs
This commit is contained in:
parent
4ebf238c5e
commit
266b651b34
9 changed files with 18 additions and 18 deletions
|
|
@ -154,7 +154,7 @@ pub const Quality = enum(u2) {
|
|||
double = c.M3D_EXP_DOUBLE,
|
||||
};
|
||||
|
||||
pub const Flags = packed struct {
|
||||
pub const Flags = packed struct(u32) {
|
||||
// don't export color map
|
||||
nocmap: bool = false,
|
||||
// don't export materials
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue