vulkan: prevent creating new async processes after the renderer has been dropped
This commit is contained in:
parent
cf74756c34
commit
1f169a0d7b
3 changed files with 14 additions and 0 deletions
|
|
@ -197,6 +197,8 @@ pub enum VulkanError {
|
|||
WaitIdle(#[source] vk::Result),
|
||||
#[error("Could not dup a DRM device")]
|
||||
DupDrm(#[source] DrmError),
|
||||
#[error("Graphics context has already been dropped")]
|
||||
Defunct,
|
||||
}
|
||||
|
||||
impl From<VulkanError> for GfxError {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue