1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 19:24:10 +01:00

[d3d11] Return success value when mapping succeeds instead of an error

This commit is contained in:
Philip Rebohle 2017-12-11 16:29:40 +01:00
parent 22c3cd80a1
commit c3a29e9de0

View File

@ -192,7 +192,7 @@ namespace dxvk {
pMappedResource->pData = buffer->mapPtr(0);
pMappedResource->RowPitch = buffer->info().size;
pMappedResource->DepthPitch = buffer->info().size;
return E_FAIL;
return S_OK;
} else {
Logger::err("D3D11: Mapping of image resources currently not supported");
return E_NOTIMPL;