gpu: implement Dawn swapChainReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3c4c844786
commit
816f4f9cc1
1 changed files with 1 additions and 2 deletions
|
|
@ -1101,8 +1101,7 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn swapChainReference(swap_chain: *gpu.SwapChain) void {
|
||||
_ = swap_chain;
|
||||
unreachable;
|
||||
procs.swapChainReference.?(@ptrCast(c.WGPUSwapChain, swap_chain));
|
||||
}
|
||||
|
||||
pub inline fn swapChainRelease(swap_chain: *gpu.SwapChain) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue