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