Don't track non-created proxy resources if invalid descriptor came in

This commit is contained in:
baldurk
2021-05-19 11:28:50 +01:00
parent b8d10c4875
commit 9d9c5d45d9
+2 -1
View File
@@ -3528,7 +3528,8 @@ ResourceId D3D11Replay::CreateProxyTexture(const TextureDescription &templateTex
RDCERR("Invalid texture dimension: %d", templateTex.dimension);
}
m_ProxyResources.push_back(resource);
if(resource)
m_ProxyResources.push_back(resource);
m_ProxyResourceOrigInfo[ret] = templateTex;