gpu: convert *opaque -> opaque for Buffer
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
13038afb28
commit
1714f43e1f
9 changed files with 29 additions and 29 deletions
|
|
@ -49,7 +49,7 @@ pub const Device = *opaque {
|
|||
return Impl.deviceCreateBindGroupLayout(device, descriptor);
|
||||
}
|
||||
|
||||
pub inline fn createBuffer(device: Device, descriptor: *const BufferDescriptor) Buffer {
|
||||
pub inline fn createBuffer(device: Device, descriptor: *const BufferDescriptor) *Buffer {
|
||||
return Impl.deviceCreateBuffer(device, descriptor);
|
||||
}
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ pub const Device = *opaque {
|
|||
Impl.deviceCreateComputePipelineAsync(device, descriptor, callback, userdata);
|
||||
}
|
||||
|
||||
pub inline fn createErrorBuffer(device: Device) Buffer {
|
||||
pub inline fn createErrorBuffer(device: Device) *Buffer {
|
||||
return Impl.deviceCreateErrorBuffer(device);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue