gpu: implement Dawn surfaceReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:27:47 -07:00 committed by Stephen Gutekanst
parent 196fbcb338
commit 5402215730

View file

@ -1074,8 +1074,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn surfaceReference(surface: *gpu.Surface) void {
_ = surface;
unreachable;
procs.surfaceReference.?(@ptrCast(c.WGPUSurface, surface));
}
pub inline fn surfaceRelease(surface: *gpu.Surface) void {