gpu: convert *opaque -> opaque for Queue
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c75d1d9e06
commit
f73621cba2
3 changed files with 10 additions and 10 deletions
|
|
@ -656,7 +656,7 @@ pub fn Export(comptime T: type) type {
|
|||
}
|
||||
|
||||
// WGPU_EXPORT WGPUQueue wgpuDeviceGetQueue(WGPUDevice device);
|
||||
export fn wgpuDeviceGetQueue(device: *gpu.Device) gpu.Queue {
|
||||
export fn wgpuDeviceGetQueue(device: *gpu.Device) *gpu.Queue {
|
||||
return T.deviceGetQueue(device);
|
||||
}
|
||||
|
||||
|
|
@ -1747,7 +1747,7 @@ pub const StubInterface = Interface(struct {
|
|||
unreachable;
|
||||
}
|
||||
|
||||
pub inline fn deviceGetQueue(device: *gpu.Device) gpu.Queue {
|
||||
pub inline fn deviceGetQueue(device: *gpu.Device) *gpu.Queue {
|
||||
_ = device;
|
||||
unreachable;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue