[PATCH v2 4/6] d3d9: Stop setting the device state in d3d9_device_SetSamplerState().
Zebediah Figura
z.figura12 at gmail.com
Wed Feb 12 09:21:52 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 4f1c602e1f..e2044b98ff 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -2695,8 +2695,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