mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Don't track non-created proxy resources if invalid descriptor came in
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user