We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 464b61d commit 1d8bc57Copy full SHA for 1d8bc57
wgpu-core/src/device/queue.rs
@@ -1074,7 +1074,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
1074
1075
// This will schedule destruction of all resources that are no longer needed
1076
// by the user but used in the command stream, among other things.
1077
- let (closures, _) = match device.maintain(hub, wgt::Maintain::Wait, &mut token) {
+ let (closures, _) = match device.maintain(hub, wgt::Maintain::Poll, &mut token) {
1078
Ok(closures) => closures,
1079
Err(WaitIdleError::Device(err)) => return Err(QueueSubmitError::Queue(err)),
1080
Err(WaitIdleError::StuckGpu) => return Err(QueueSubmitError::StuckGpu),
0 commit comments