gpu: implement Dawn swapChainReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:28:17 -07:00 committed by Stephen Gutekanst
parent 3c4c844786
commit 816f4f9cc1

View file

@ -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 {