diff --git a/ash/src/device.rs b/ash/src/device.rs index a8e3982..12ce492 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -1670,10 +1670,11 @@ pub trait DeviceV1_0 { } #[doc = ""] - unsafe fn get_fence_status(&self, fence: vk::Fence) -> VkResult<()> { + unsafe fn get_fence_status(&self, fence: vk::Fence) -> VkResult { let err_code = self.fp_v1_0().get_fence_status(self.handle(), fence); match err_code { - vk::Result::SUCCESS => Ok(()), + vk::Result::SUCCESS => Ok(true), + vk::Result::NOT_READY => Ok(false), _ => Err(err_code), } }