gpu: implement Dawn surfaceReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
196fbcb338
commit
5402215730
1 changed files with 1 additions and 2 deletions
|
|
@ -1074,8 +1074,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn surfaceReference(surface: *gpu.Surface) void {
|
pub inline fn surfaceReference(surface: *gpu.Surface) void {
|
||||||
_ = surface;
|
procs.surfaceReference.?(@ptrCast(c.WGPUSurface, surface));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn surfaceRelease(surface: *gpu.Surface) void {
|
pub inline fn surfaceRelease(surface: *gpu.Surface) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue