mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 08:13:27 +00:00
refactor: Global::poll_device
: use &=
for all_queue_empty
This commit is contained in:
parent
e3b23a6c62
commit
fe28eda3e0
@ -2148,7 +2148,7 @@ impl Global {
|
||||
let fence = device.fence.read();
|
||||
let fence = fence.as_ref().unwrap();
|
||||
let (cbs, queue_empty) = device.maintain(fence, maintain)?;
|
||||
all_queue_empty = all_queue_empty && queue_empty;
|
||||
all_queue_empty &= queue_empty;
|
||||
|
||||
closures.extend(cbs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user