gpu: implement Dawn surfaceRelease
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5402215730
commit
3c4c844786
1 changed files with 1 additions and 2 deletions
|
|
@ -1078,8 +1078,7 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn surfaceRelease(surface: *gpu.Surface) void {
|
||||
_ = surface;
|
||||
unreachable;
|
||||
procs.surfaceRelease.?(@ptrCast(c.WGPUSurface, surface));
|
||||
}
|
||||
|
||||
pub inline fn swapChainConfigure(swap_chain: *gpu.SwapChain, format: gpu.Texture.Format, allowed_usage: gpu.Texture.UsageFlags, width: u32, height: u32) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue