mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 01:16:31 +00:00
Don't init device table if the createdevice call failed
This commit is contained in:
@@ -768,10 +768,10 @@ VkResult WrappedVulkan::vkCreateDevice(
|
||||
// (note that we asserted above that there was nothing else in the chain)
|
||||
createInfo.pNext = NULL;
|
||||
|
||||
InitDeviceTable(*pDevice, gdpa);
|
||||
|
||||
if(ret == VK_SUCCESS)
|
||||
{
|
||||
InitDeviceTable(*pDevice, gdpa);
|
||||
|
||||
ResourceId id = GetResourceManager()->WrapResource(*pDevice, *pDevice);
|
||||
|
||||
if(m_State >= WRITING)
|
||||
|
||||
Reference in New Issue
Block a user