mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 19:24:12 +01:00
[d3d9] Relax stretch rect check in D3D8 mode
This commit is contained in:
parent
a7ae5999a9
commit
cc87870be1
@ -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…
Reference in New Issue
Block a user