mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Fix inconsistent Unmap subresource index. Closes #1364
This commit is contained in:
@@ -880,7 +880,7 @@ void D3D12ResourceManager::Apply_InitialState(ID3D12DeviceChild *live, D3D12Init
|
||||
}
|
||||
|
||||
if(dst)
|
||||
copyDst->Unmap(0, NULL);
|
||||
copyDst->Unmap(i, NULL);
|
||||
}
|
||||
|
||||
delete[] layouts;
|
||||
|
||||
Reference in New Issue
Block a user