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
|
|
@ -769,7 +769,7 @@ pub const Interface = struct {
|
|||
procs.queueSetLabel.?(@ptrCast(c.WGPUQueue, queue), label);
|
||||
}
|
||||
|
||||
pub inline fn queueSubmit(queue: *gpu.Queue, command_count: u32, commands: [*]*const gpu.CommandBuffer) void {
|
||||
pub inline fn queueSubmit(queue: *gpu.Queue, command_count: u32, commands: [*]const *const gpu.CommandBuffer) void {
|
||||
procs.queueSubmit.?(
|
||||
@ptrCast(c.WGPUQueue, queue),
|
||||
command_count,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue