mach: use null and undefined in enums
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
parent
37b7d32485
commit
e832784e6b
2 changed files with 3 additions and 3 deletions
|
|
@ -96,7 +96,7 @@ pub const Platform = struct {
|
|||
// Print which adapter we are going to use.
|
||||
var props: gpu.Adapter.Properties = undefined;
|
||||
response.?.adapter.getProperties(&props);
|
||||
if (props.backend_type == .nul) {
|
||||
if (props.backend_type == .null) {
|
||||
std.log.err("no backend found for {s} adapter", .{props.adapter_type.name()});
|
||||
std.process.exit(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue