gpu: implement Dawn deviceDestroy
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3ea6cb90de
commit
e42157d69a
1 changed files with 1 additions and 2 deletions
|
|
@ -501,8 +501,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn deviceDestroy(device: *gpu.Device) void {
|
pub inline fn deviceDestroy(device: *gpu.Device) void {
|
||||||
_ = device;
|
procs.deviceDestroy.?(@ptrCast(c.WGPUDevice, device));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn deviceEnumerateFeatures(device: *gpu.Device, features: [*]gpu.FeatureName) usize {
|
pub inline fn deviceEnumerateFeatures(device: *gpu.Device, features: [*]gpu.FeatureName) usize {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue