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:
parent
22c3cd80a1
commit
c3a29e9de0
@ -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…
Reference in New Issue
Block a user