d3d11: Fix d3d11_immediate_context_OMSetRenderTargetsAndUnorderedAccessViews().

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 2016-11-29 12:06:26 +01:00 committed by Alexandre Julliard
parent 0e415b5d7d
commit 3f9fb98ab3
1 changed files with 2 additions and 1 deletions

View File

@ -671,7 +671,8 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_OMSetRenderTargetsAndUnord
} }
for (; unordered_access_view_start_slot + i < D3D11_PS_CS_UAV_REGISTER_COUNT; ++i) for (; unordered_access_view_start_slot + i < D3D11_PS_CS_UAV_REGISTER_COUNT; ++i)
{ {
wined3d_device_set_unordered_access_view(device->wined3d_device, i, NULL); wined3d_device_set_unordered_access_view(device->wined3d_device,
unordered_access_view_start_slot + i, NULL);
} }
wined3d_mutex_unlock(); wined3d_mutex_unlock();
} }