1 parent 7f2d109 commit 7fee162Copy full SHA for 7fee162
1 file changed
src/d3d9/d3d9_device.cpp
@@ -31,6 +31,8 @@
31
#pragma fenv_access (on)
32
#endif
33
34
+#define D3D9_EXTENDED
35
+
36
namespace dxvk {
37
38
D3D9DeviceEx::D3D9DeviceEx(
@@ -1335,8 +1337,10 @@ namespace dxvk {
1335
1337
if (unlikely(pSourceSurface == pDestSurface))
1336
1338
return D3DERR_INVALIDCALL;
1339
1340
+#if !defined( D3D9_EXTENDED )
1341
if (unlikely(dstIsDS))
1342
1343
+#endif
1344
1345
// The docs say that stretching is only allowed if the destination is either a render target surface or a render target texture.
1346
// However in practice, using an offscreen plain surface in D3DPOOL_DEFAULT as the destination works fine.
0 commit comments