d3d11: Fix d3d10_device_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:23 +02:00 committed by Alexandre Julliard
parent 51ef6190c7
commit fcb2784697
1 changed files with 2 additions and 0 deletions

View File

@ -5114,6 +5114,8 @@ static void STDMETHODCALLTYPE d3d10_device_RSGetScissorRects(ID3D10Device1 *ifac
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();