gpu: implement Dawn textureRelease
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
400634f5ff
commit
73c86ddb4a
1 changed files with 1 additions and 2 deletions
|
|
@ -1170,8 +1170,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn textureRelease(texture: *gpu.Texture) void {
|
pub inline fn textureRelease(texture: *gpu.Texture) void {
|
||||||
_ = texture;
|
procs.textureRelease.?(@ptrCast(c.WGPUTexture, texture));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn textureViewSetLabel(texture_view: *gpu.TextureView, label: [*:0]const u8) void {
|
pub inline fn textureViewSetLabel(texture_view: *gpu.TextureView, label: [*:0]const u8) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue