1
0
Fork 0
forked from wry/wry

vulkan: prevent creating new async processes after the renderer has been dropped

This commit is contained in:
Julian Orth 2024-09-06 18:35:48 +02:00
parent cf74756c34
commit 1f169a0d7b
3 changed files with 14 additions and 0 deletions

View file

@ -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 {