gpu: correct CommandBuffer parameter name

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 08:59:36 -07:00 committed by Stephen Gutekanst
parent 148f4eb939
commit 88bfccd5ae

View file

@ -19,8 +19,8 @@ pub inline fn release(buf: CommandBuffer) void {
buf.vtable.release(buf.ptr); buf.vtable.release(buf.ptr);
} }
pub inline fn setLabel(group: CommandBuffer, label: [:0]const u8) void { pub inline fn setLabel(buf: CommandBuffer, label: [:0]const u8) void {
group.vtable.setLabel(group.ptr, label); buf.vtable.setLabel(buf.ptr, label);
} }
test "syntax" { test "syntax" {