diff --git a/vulkano/src/sync/future/fence_signal.rs b/vulkano/src/sync/future/fence_signal.rs index 899d2e4a..64b956d5 100644 --- a/vulkano/src/sync/future/fence_signal.rs +++ b/vulkano/src/sync/future/fence_signal.rs @@ -309,7 +309,9 @@ where true, ) { Ok(_) => (), - Err(AccessCheckError::Unknown) => return Err(AccessError::SwapchainImageNotAcquired.into()), + Err(AccessCheckError::Unknown) => { + return Err(AccessError::SwapchainImageNotAcquired.into()) + } Err(AccessCheckError::Denied(e)) => return Err(e.into()), } } diff --git a/vulkano/src/sync/future/join.rs b/vulkano/src/sync/future/join.rs index 5d7958e2..0f0c062a 100644 --- a/vulkano/src/sync/future/join.rs +++ b/vulkano/src/sync/future/join.rs @@ -287,9 +287,7 @@ where Err(AccessCheckError::Denied(e1)) } // TODO: which one? (Ok(_), Err(AccessCheckError::Denied(_))) - | (Err(AccessCheckError::Denied(_)), Ok(_)) => { - panic!("Contradictory information between two futures") - } + | (Err(AccessCheckError::Denied(_)), Ok(_)) => Ok(()), (Ok(_), Ok(_)) => Ok(()), // TODO: Double Acquired? } }