all: use explicit backing integers for packed structs

This commit is contained in:
Ali Chraghi 2023-03-28 15:11:13 +03:30 committed by Stephen Gutekanst
parent 4ebf238c5e
commit 266b651b34
9 changed files with 18 additions and 18 deletions

View file

@ -136,7 +136,7 @@ pub const Texture = opaque {
uint = 0x00000005,
};
pub const UsageFlags = packed struct {
pub const UsageFlags = packed struct(u32) {
copy_src: bool = false,
copy_dst: bool = false,
texture_binding: bool = false,