Signed-off-by: Józef Kucia jkucia@codeweavers.com --- dlls/d3d11/device.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c index 588395b4b6a6..6b89a64e2098 100644 --- a/dlls/d3d11/device.c +++ b/dlls/d3d11/device.c @@ -2061,6 +2061,8 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_RSGetScissorRects(ID3D11De if (!rect_count) return;
+ actual_count = *rect_count; + wined3d_mutex_lock(); wined3d_device_get_scissor_rects(device->wined3d_device, &actual_count, rects); wined3d_mutex_unlock();