[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
1 changed files with 1 additions and 1 deletions

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;