d3d11: Fix d3d11_immediate_context_RSGetScissorRects().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2019-04-18 11:00:22 +02:00 committed by Alexandre Julliard
parent 725c5156ef
commit 51ef6190c7
1 changed files with 2 additions and 0 deletions

View File

@ -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();