mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Relax stretch rect check in D3D8 mode
This commit is contained in:
parent
a7ae5999a9
commit
cc87870be1
1 changed files with 1 additions and 1 deletions
|
@ -1264,7 +1264,7 @@ namespace dxvk {
|
|||
// - both destination and source are depth stencil surfaces
|
||||
// - both destination and source are offscreen plain surfaces.
|
||||
// The only way to get a surface with resource type D3DRTYPE_SURFACE without USAGE_RT or USAGE_DS is CreateOffscreenPlainSurface.
|
||||
if (unlikely(!dstHasRTUsage && (!dstIsSurface || !srcIsSurface || srcHasRTUsage)))
|
||||
if (unlikely((!dstHasRTUsage && (!dstIsSurface || !srcIsSurface || srcHasRTUsage)) && !m_isD3D8Compatible))
|
||||
return D3DERR_INVALIDCALL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue