From c9959adc4095118d70cc515f5c53876cb3488e79 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Thu, 6 Feb 2020 19:33:25 -0600 Subject: [PATCH] d3d9: Stop setting the device state in d3d9_device_SetScissorRect(). Signed-off-by: Zebediah Figura Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/d3d9/device.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index cff3a5c898c..3609dddb39b 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;