gpu: correctly allow unsetting Device.setUncapturedErrorCallback

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-16 21:29:06 -07:00
parent 612c4420d6
commit 2007542231
4 changed files with 18 additions and 14 deletions

View file

@ -30,7 +30,7 @@ pub const Queue = opaque {
Impl.queueCopyTextureForBrowser(queue, source, destination, copy_size, options);
}
// TODO: presumably callback should be nullable for unsetting
// TODO: dawn: does not allow unsetting this callback to null
pub inline fn onSubmittedWorkDone(
queue: *Queue,
signal_value: u64,