gpu: convert *opaque -> opaque for Queue

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 22:46:15 -07:00 committed by Stephen Gutekanst
parent c75d1d9e06
commit f73621cba2
3 changed files with 10 additions and 10 deletions

View file

@ -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;
}