1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 02:52:10 +01:00

[d3d11] Remove unnecessary Map() check

This commit is contained in:
Philip Rebohle 2018-03-22 19:28:00 +01:00
parent 2566909917
commit 085fd6a959
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -148,9 +148,6 @@ namespace dxvk {
return E_INVALIDARG;
}
if (pMappedResource == nullptr)
return S_FALSE;
if (MapType == D3D11_MAP_WRITE_DISCARD) {
// Allocate a new backing slice for the buffer and set
// it as the 'new' mapped slice. This assumes that the