Zebediah Figura : d3d9: Stop setting the device state in d3d9_device_SetScissorRect().
Alexandre Julliard
julliard at winehq.org
Fri Feb 7 15:41:08 CST 2020
Module: wine
Branch: master
Commit: c9959adc4095118d70cc515f5c53876cb3488e79
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c9959adc4095118d70cc515f5c53876cb3488e79
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Thu Feb 6 19:33:25 2020 -0600
d3d9: Stop setting the device state in d3d9_device_SetScissorRect().
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/d3d9/device.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index cff3a5c898..3609dddb39 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -2739,8 +2739,6 @@ static HRESULT WINAPI d3d9_device_SetScissorRect(IDirect3DDevice9Ex *iface, cons
wined3d_mutex_lock();
wined3d_stateblock_set_scissor_rect(device->update_state, rect);
- if (!device->recording)
- wined3d_device_set_scissor_rects(device->wined3d_device, 1, rect);
wined3d_mutex_unlock();
return D3D_OK;
More information about the wine-cvs
mailing list