Commit 3f9fb98a authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d11: Fix d3d11_immediate_context_OMSetRenderTargetsAndUnorderedAccessViews().

parent 0e415b5d
...@@ -671,7 +671,8 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_OMSetRenderTargetsAndUnord ...@@ -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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment