mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 14:56:42 +00:00
parent
2992f0d0fc
commit
f99c67929f
@ -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()),
|
||||
}
|
||||
}
|
||||
|
@ -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?
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user