gpu: implement Dawn deviceCreateErrorBuffer
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5c6ea4b4e4
commit
902d146073
1 changed files with 1 additions and 2 deletions
|
|
@ -428,8 +428,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn deviceCreateErrorBuffer(device: *gpu.Device) *gpu.Buffer {
|
pub inline fn deviceCreateErrorBuffer(device: *gpu.Device) *gpu.Buffer {
|
||||||
_ = device;
|
return @ptrCast(*gpu.Buffer, procs.deviceCreateErrorBuffer.?(@ptrCast(c.WGPUDevice, device)));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn deviceCreateErrorExternalTexture(device: *gpu.Device) *gpu.ExternalTexture {
|
pub inline fn deviceCreateErrorExternalTexture(device: *gpu.Device) *gpu.ExternalTexture {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue