d3d11: Don't grab wined3d lock for wined3d_device_context_copy_uav_counter().

Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jan Sikorski 2021-10-15 14:26:16 +02:00 committed by Alexandre Julliard
parent 82b02b1ce6
commit fa63f80d0e
1 changed files with 0 additions and 2 deletions

View File

@ -1392,10 +1392,8 @@ static void STDMETHODCALLTYPE d3d11_device_context_CopyStructureCount(ID3D11Devi
buffer_impl = unsafe_impl_from_ID3D11Buffer(dst_buffer);
uav = unsafe_impl_from_ID3D11UnorderedAccessView(src_view);
wined3d_mutex_lock();
wined3d_device_context_copy_uav_counter(context->wined3d_context,
buffer_impl->wined3d_buffer, dst_offset, uav->wined3d_view);
wined3d_mutex_unlock();
}
static void STDMETHODCALLTYPE d3d11_device_context_ClearRenderTargetView(ID3D11DeviceContext1 *iface,