mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-06 12:21:54 +00:00
Don't set devices as parents of the instance
* This causes all devices to be included in the capture, when that isn't what we want. If the application creates and destroys some devices they must not be included in the capture or we end up with multiple devices and can use them in a inconsistent manner. * The active m_Device is still marked as referenced in the frame so it will be pulled in that way.
This commit is contained in:
1 parent
92c545ea06
commit
5e5ec5de4b
1 file changed
-2
@@ -1394,8 +1394,6 @@ VkResult WrappedVulkan::vkCreateDevice(VkPhysicalDevice physicalDevice,
|
||||
}
|
||||
|
||||
InitDeviceExtensionTables(*pDevice);
|
||||
|
||||
GetRecord(m_Instance)->AddParent(record);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user