gpu: use null and undefined in enums

Closes #626
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
Eric Joldasov 2022-12-13 18:40:08 +06:00 committed by Stephen Gutekanst
parent ef05d8ca69
commit 94ba8338f5
8 changed files with 32 additions and 32 deletions

View file

@ -38,7 +38,7 @@ pub const Device = opaque {
) callconv(.C) void;
pub const LostReason = enum(u32) {
undef = 0x00000000,
undefined = 0x00000000,
destroyed = 0x00000001,
};