gpu: correct pointer constness of command buffers

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-05-25 14:48:22 -07:00 committed by Stephen Gutekanst
parent c6f6a4fa3a
commit e754f3023e
3 changed files with 5 additions and 5 deletions

View file

@ -55,7 +55,7 @@ pub const Queue = opaque {
Impl.queueSetLabel(queue, label);
}
pub inline fn submit(queue: *Queue, commands: []*const CommandBuffer) void {
pub inline fn submit(queue: *Queue, commands: []const *const CommandBuffer) void {
Impl.queueSubmit(queue, @intCast(u32, commands.len), commands.ptr);
}