gpu: convert *opaque -> opaque for QuerySet

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 22:44:53 -07:00 committed by Stephen Gutekanst
parent ca0fa7f045
commit c75d1d9e06
5 changed files with 13 additions and 13 deletions

View file

@ -601,7 +601,7 @@ pub fn Export(comptime T: type) type {
}
// WGPU_EXPORT WGPUQuerySet wgpuDeviceCreateQuerySet(WGPUDevice device, WGPUQuerySetDescriptor const * descriptor);
export fn wgpuDeviceCreateQuerySet(device: *gpu.Device, descriptor: *const gpu.QuerySetDescriptor) gpu.QuerySet {
export fn wgpuDeviceCreateQuerySet(device: *gpu.Device, descriptor: *const gpu.QuerySetDescriptor) *gpu.QuerySet {
return T.deviceCreateQuerySet(device, descriptor);
}
@ -1679,7 +1679,7 @@ pub const StubInterface = Interface(struct {
unreachable;
}
pub inline fn deviceCreateQuerySet(device: *gpu.Device, descriptor: *const gpu.QuerySetDescriptor) gpu.QuerySet {
pub inline fn deviceCreateQuerySet(device: *gpu.Device, descriptor: *const gpu.QuerySetDescriptor) *gpu.QuerySet {
_ = device;
_ = descriptor;
unreachable;