gpu: implement Dawn externalTextureDestroy

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 17:24:49 -07:00 committed by Stephen Gutekanst
parent d382980ba2
commit ac7941d23c

View file

@ -606,8 +606,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn externalTextureDestroy(external_texture: *gpu.ExternalTexture) void {
_ = external_texture;
unreachable;
procs.externalTextureDestroy.?(@ptrCast(c.WGPUExternalTexture, external_texture));
}
pub inline fn externalTextureSetLabel(external_texture: *gpu.ExternalTexture, label: [*:0]const u8) void {