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
|
|
@ -38,7 +38,7 @@ pub const Device = opaque {
|
|||
) callconv(.C) void;
|
||||
|
||||
pub const LostReason = enum(u32) {
|
||||
undef = 0x00000000,
|
||||
undefined = 0x00000000,
|
||||
destroyed = 0x00000001,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue