Zebediah Figura : d3d8: Stop setting the device state in d3d8_device_SetRenderState().
Alexandre Julliard
julliard at winehq.org
Wed Jan 29 16:24:06 CST 2020
Module: wine
Branch: master
Commit: 5e9c139c5fd1a8eb7fdda12db86113241ee854c0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5e9c139c5fd1a8eb7fdda12db86113241ee854c0
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Tue Jan 28 22:45:12 2020 -0600
d3d8: Stop setting the device state in d3d8_device_SetRenderState().
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 | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 4c2c350ec2..b0a0491890 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -1885,8 +1885,6 @@ static HRESULT WINAPI d3d8_device_SetRenderState(IDirect3DDevice8 *iface,
if (state == D3DRS_ZBIAS)
state = WINED3D_RS_DEPTHBIAS;
wined3d_stateblock_set_render_state(device->update_state, state, value);
- if (!device->recording)
- wined3d_device_set_render_state(device->wined3d_device, state, value);
if (state == D3DRS_POINTSIZE && value == D3D8_RESZ_CODE)
resolve_depth_buffer(device);
wined3d_mutex_unlock();
More information about the wine-cvs
mailing list