mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-17 17:52:11 +01:00
[d3d11] Remove warnings from CopySubresourceRegion1 / UpdateSubresource1
The flags should have no impact on correctness, so not supporting them makes no difference. Prevents log spam in Dishonored 2.
This commit is contained in:
parent
b33edcbb93
commit
c6251d28fc
@ -410,8 +410,6 @@ namespace dxvk {
|
||||
UINT SrcSubresource,
|
||||
const D3D11_BOX* pSrcBox,
|
||||
UINT CopyFlags) {
|
||||
if (CopyFlags != 0)
|
||||
Logger::warn("D3D11DeviceContext: CopySubresourceRegion1: ignoring flags");
|
||||
CopySubresourceRegion(pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox);
|
||||
}
|
||||
|
||||
@ -792,8 +790,6 @@ namespace dxvk {
|
||||
UINT SrcRowPitch,
|
||||
UINT SrcDepthPitch,
|
||||
UINT CopyFlags) {
|
||||
if(CopyFlags != 0 )
|
||||
Logger::warn("D3D11DeviceContext::UpdateSubresource1: flags ignored");
|
||||
UpdateSubresource(pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user