mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-05 11:57:53 +00:00
Fix to actually fetch memory id if it's available
This commit is contained in:
1 parent
f660bdd807
commit
233aa3d14b
1 file changed
+2
@@ -1154,6 +1154,8 @@ vector<byte> VulkanReplay::GetBufferData(ResourceId buff, uint32_t offset, uint3
|
||||
RDCWARN("Buffer has no memory bound, or no buffer of this ID");
|
||||
return vector<byte>();
|
||||
}
|
||||
|
||||
memid = it->second;
|
||||
}
|
||||
|
||||
VkBuffer srcBuf = m_pDriver->GetResourceManager()->GetCurrentHandle<VkBuffer>(buff);
|
||||
|
||||
Reference in new issue
Block a user