gpu: convert *opaque -> opaque for SwapChain
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2c1a8240c5
commit
f59435f0b0
4 changed files with 11 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue