gpu: correct CommandBuffer parameter name
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
148f4eb939
commit
88bfccd5ae
1 changed files with 2 additions and 2 deletions
|
|
@ -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" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue