gpu: correct extern declarations

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 21:09:20 -07:00 committed by Stephen Gutekanst
parent 616395c583
commit fd948f4e8c
4 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ pub const CommandEncoder = enum(usize) {
// TODO: verify there is a use case for nullable value of this type.
pub const none: CommandEncoder = @intToEnum(CommandEncoder, 0);
pub const Descriptor = struct {
pub const Descriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
};