gpu: convert *opaque -> opaque for SwapChain

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 23:00:48 -07:00 committed by Stephen Gutekanst
parent 2c1a8240c5
commit f59435f0b0
4 changed files with 11 additions and 11 deletions

View file

@ -105,7 +105,7 @@ pub const Device = opaque {
return Impl.deviceCreateShaderModule(device, descriptor);
}
pub inline fn createSwapChain(device: *Device, surface: ?Surface, descriptor: *const SwapChainDescriptor) SwapChain {
pub inline fn createSwapChain(device: *Device, surface: ?Surface, descriptor: *const SwapChainDescriptor) *SwapChain {
return Impl.deviceCreateSwapChain(device, surface, descriptor);
}