gpu: implement Dawn adapterReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1d5021fd2c
commit
e48e487358
1 changed files with 1 additions and 2 deletions
|
|
@ -72,8 +72,7 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn adapterReference(adapter: *gpu.Adapter) void {
|
||||
_ = adapter;
|
||||
unreachable;
|
||||
procs.adapterReference.?(@ptrCast(c.WGPUAdapter, adapter));
|
||||
}
|
||||
|
||||
pub inline fn adapterRelease(adapter: *gpu.Adapter) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue