mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-09 13:51:31 +00:00
Resource tidy up isn't practical while writing as device is already dead
This commit is contained in:
1 parent
2f8530b10b
commit
2559907c17
1 file changed
+5
@@ -5837,6 +5837,11 @@ bool WrappedVulkan::ReleaseResource(WrappedVkRes *res)
|
||||
{
|
||||
if(res == NULL) return true;
|
||||
|
||||
// VKTODOHIGH: Device-associated resources must be released before the device is
|
||||
// shutdown. This needs a rethink while writing - really everything should be cleaned
|
||||
// up explicitly by us or the app.
|
||||
if(m_State >= WRITING) return true;
|
||||
|
||||
// VKTODOHIGH: release resource with device from resource record
|
||||
|
||||
// VKTODOLOW - this will break if we have multiple devices and resources from each,
|
||||
|
||||
Reference in new issue
Block a user