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

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:17 +02:00 committed by Alexandre Julliard
parent 7bc6eb9d25
commit 9457c8d172
1 changed files with 0 additions and 2 deletions

View File

@ -1519,9 +1519,7 @@ static void STDMETHODCALLTYPE d3d11_device_context_ExecuteCommandList(ID3D11Devi
TRACE("iface %p, command_list %p, restore_state %#x.\n", iface, command_list, restore_state); TRACE("iface %p, command_list %p, restore_state %#x.\n", iface, command_list, restore_state);
wined3d_mutex_lock();
wined3d_device_context_execute_command_list(context->wined3d_context, list_impl->wined3d_list, !!restore_state); wined3d_device_context_execute_command_list(context->wined3d_context, list_impl->wined3d_list, !!restore_state);
wined3d_mutex_unlock();
} }
static void STDMETHODCALLTYPE d3d11_device_context_HSSetShaderResources(ID3D11DeviceContext1 *iface, static void STDMETHODCALLTYPE d3d11_device_context_HSSetShaderResources(ID3D11DeviceContext1 *iface,