gpu: correct Queue.submit parameter constness
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
14b28600af
commit
7c09b27905
4 changed files with 7 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue