gpu: use null and undefined in enums
Closes #626 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
parent
ef05d8ca69
commit
94ba8338f5
8 changed files with 32 additions and 32 deletions
|
|
@ -17,7 +17,7 @@ pub const TextureView = opaque {
|
|||
pub const Descriptor = extern struct {
|
||||
next_in_chain: ?*const ChainedStruct = null,
|
||||
label: ?[*:0]const u8 = null,
|
||||
format: Texture.Format = .undef,
|
||||
format: Texture.Format = .undefined,
|
||||
dimension: Dimension = .dimension_undef,
|
||||
base_mip_level: u32 = 0,
|
||||
mip_level_count: u32 = types.mip_level_count_undef,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue