gpu: correctly allow unsetting Device.setUncapturedErrorCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
612c4420d6
commit
2007542231
4 changed files with 18 additions and 14 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue