vulkan: implement Context::reset_status
This commit is contained in:
parent
9e20e32338
commit
5be253dec2
6 changed files with 28 additions and 4 deletions
|
|
@ -243,7 +243,7 @@ struct Context(Rc<VulkanRenderer>);
|
|||
|
||||
impl GfxContext for Context {
|
||||
fn reset_status(&self) -> Option<ResetStatus> {
|
||||
None
|
||||
self.0.device.lost.get().then_some(ResetStatus::Unknown)
|
||||
}
|
||||
|
||||
fn render_node(&self) -> Option<Rc<CString>> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue