[PATCH 6/6] d3d9: Stop setting the device state in d3d9_device_SetTextureStageState().

Zebediah Figura z.figura12 at gmail.com
Tue Feb 11 19:19:18 CST 2020


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

diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index 15400d309c..57c402ad93 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -2652,8 +2652,6 @@ static HRESULT WINAPI d3d9_device_SetTextureStageState(IDirect3DDevice9Ex *iface
 
     wined3d_mutex_lock();
     wined3d_stateblock_set_texture_stage_state(device->update_state, stage, tss_lookup[state], value);
-    if (!device->recording)
-        wined3d_device_set_texture_stage_state(device->wined3d_device, stage, tss_lookup[state], value);
     wined3d_mutex_unlock();
 
     return D3D_OK;
-- 
2.25.0




More information about the wine-devel mailing list