gpu: implement Dawn bufferDestroy
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b3edda9627
commit
6223e4e1f1
1 changed files with 1 additions and 2 deletions
|
|
@ -104,8 +104,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn bufferDestroy(buffer: *gpu.Buffer) void {
|
pub inline fn bufferDestroy(buffer: *gpu.Buffer) void {
|
||||||
_ = buffer;
|
procs.bufferDestroy.?(@ptrCast(c.WGPUBuffer, buffer));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: file a bug on Dawn docstrings, this returns null but is not documented as such.
|
// TODO: file a bug on Dawn docstrings, this returns null but is not documented as such.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue