Zebediah Figura : d3d8: Stop setting the device state in d3d8_device_SetTexture().
Alexandre Julliard
julliard at winehq.org
Mon Feb 24 15:23:53 CST 2020
Module: wine
Branch: master
Commit: 27e8a5dd63aa9b0dea83ceea2355364fe89d6488
URL: https://source.winehq.org/git/wine.git/?a=commit;h=27e8a5dd63aa9b0dea83ceea2355364fe89d6488
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Fri Feb 21 17:04:48 2020 -0600
d3d8: Stop setting the device state in d3d8_device_SetTexture().
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d8/device.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 481f4f3846..7c1a6fe9fd 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -2203,9 +2203,6 @@ static HRESULT WINAPI d3d8_device_SetTexture(IDirect3DDevice8 *iface, DWORD stag
wined3d_mutex_lock();
wined3d_stateblock_set_texture(device->update_state, stage,
texture_impl ? texture_impl->wined3d_texture : NULL);
- if (!device->recording)
- wined3d_device_set_texture(device->wined3d_device, stage,
- texture_impl ? texture_impl->wined3d_texture : NULL);
wined3d_mutex_unlock();
return D3D_OK;
More information about the wine-cvs
mailing list