[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH 4/6] ddraw: Stop setting the device state in d3d_device7_SetViewport().
From:       Zebediah Figura <z.figura12 () gmail ! com>
Date:       2020-02-28 20:18:44
Message-ID: 20200228201846.252667-4-z.figura12 () gmail ! com
[Download RAW message or body]

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
---
 dlls/ddraw/device.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index 240f79b432..9e234fd065 100644
--- a/dlls/ddraw/device.c
+++ b/dlls/ddraw/device.c
@@ -5356,8 +5356,6 @@ static HRESULT d3d_device7_SetViewport(IDirect3DDevice7 *iface, D3DVIEWPORT7 *vi
     vp.max_z = viewport->dvMaxZ;
 
     wined3d_stateblock_set_viewport(device->update_state, &vp);
-    if (!device->recording)
-        wined3d_device_set_viewports(device->wined3d_device, 1, &vp);
     wined3d_mutex_unlock();
 
     return D3D_OK;
-- 
2.25.0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic