gpu: implement Dawn deviceSetUncapturedErrorCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
07cf5743bd
commit
4411d6b535
1 changed files with 5 additions and 4 deletions
|
|
@ -612,10 +612,11 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn deviceSetUncapturedErrorCallback(device: *gpu.Device, callback: gpu.ErrorCallback, userdata: *anyopaque) void {
|
||||
_ = device;
|
||||
_ = callback;
|
||||
_ = userdata;
|
||||
unreachable;
|
||||
procs.deviceSetUncapturedErrorCallback.?(
|
||||
@ptrCast(c.WGPUDevice, device),
|
||||
@ptrCast(c.WGPUErrorCallback, callback),
|
||||
userdata,
|
||||
);
|
||||
}
|
||||
|
||||
pub inline fn deviceTick(device: *gpu.Device) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue