mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 22:54:16 +01:00
[d3d11] Return success value when mapping succeeds instead of an error
This commit is contained in:
parent
22c3cd80a1
commit
c3a29e9de0
@ -192,7 +192,7 @@ namespace dxvk {
|
|||||||
pMappedResource->pData = buffer->mapPtr(0);
|
pMappedResource->pData = buffer->mapPtr(0);
|
||||||
pMappedResource->RowPitch = buffer->info().size;
|
pMappedResource->RowPitch = buffer->info().size;
|
||||||
pMappedResource->DepthPitch = buffer->info().size;
|
pMappedResource->DepthPitch = buffer->info().size;
|
||||||
return E_FAIL;
|
return S_OK;
|
||||||
} else {
|
} else {
|
||||||
Logger::err("D3D11: Mapping of image resources currently not supported");
|
Logger::err("D3D11: Mapping of image resources currently not supported");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user