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