gpu: correct Queue.submit parameter constness

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-10 22:00:54 -07:00 committed by Stephen Gutekanst
parent 14b28600af
commit 7c09b27905
4 changed files with 7 additions and 6 deletions

View file

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