Fix inconsistent Unmap subresource index. Closes #1364

This commit is contained in:
baldurk
2019-05-01 10:43:53 +01:00
parent 53f54ae882
commit 946636ffa8
+1 -1
View File
@@ -880,7 +880,7 @@ void D3D12ResourceManager::Apply_InitialState(ID3D12DeviceChild *live, D3D12Init
}
if(dst)
copyDst->Unmap(0, NULL);
copyDst->Unmap(i, NULL);
}
delete[] layouts;