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:
parent
0e415b5d7d
commit
3f9fb98ab3
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue