mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
Revert "[d3d11] Return error when mapping an already mapped image"
This reverts commit 1cc531eaf8002cef3e9707cdc3398f45909e38d2. Even though an FFXIV apitrace clearly indicates that mapping an already mapped subresource returns E_OUTOFMEMORY in that game, this doesn't always seem to be correct behaviour. Fixes #1148, #1149.
This commit is contained in:
parent
02d92210ad
commit
140a2c1017
@ -340,9 +340,6 @@ namespace dxvk {
|
||||
if (unlikely(Subresource >= pResource->CountSubresources()))
|
||||
return E_INVALIDARG;
|
||||
|
||||
if (unlikely(pResource->GetMapType(Subresource) != D3D11_MAP(~0u)))
|
||||
return E_OUTOFMEMORY;
|
||||
|
||||
pResource->SetMapType(Subresource, MapType);
|
||||
|
||||
VkFormat packedFormat = m_parent->LookupPackedFormat(
|
||||
|
Loading…
x
Reference in New Issue
Block a user