mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d11] Return success value when mapping succeeds instead of an error
This commit is contained in:
parent
22c3cd80a1
commit
c3a29e9de0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue