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

Zebediah Figura z.figura12 at gmail.com
Tue Feb 11 19:19:16 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 730032755e..e7e956dcf3 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -2692,8 +2692,6 @@ static HRESULT WINAPI DECLSPEC_HOTPATCH d3d9_device_SetSamplerState(IDirect3DDev
 
     wined3d_mutex_lock();
     wined3d_stateblock_set_sampler_state(device->update_state, sampler, state, value);
-    if (!device->recording)
-        wined3d_device_set_sampler_state(device->wined3d_device, sampler, state, value);
     wined3d_mutex_unlock();
 
     return D3D_OK;
-- 
2.25.0




More information about the wine-devel mailing list