mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:11:34 +00:00
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:
parent
725c5156ef
commit
51ef6190c7
|
@ -2061,6 +2061,8 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_RSGetScissorRects(ID3D11De
|
||||||
if (!rect_count)
|
if (!rect_count)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
actual_count = *rect_count;
|
||||||
|
|
||||||
wined3d_mutex_lock();
|
wined3d_mutex_lock();
|
||||||
wined3d_device_get_scissor_rects(device->wined3d_device, &actual_count, rects);
|
wined3d_device_get_scissor_rects(device->wined3d_device, &actual_count, rects);
|
||||||
wined3d_mutex_unlock();
|
wined3d_mutex_unlock();
|
||||||
|
|
Loading…
Reference in a new issue