gpu: correct pointer constness of command buffers
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c6f6a4fa3a
commit
e754f3023e
3 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue