Module: wine Branch: master Commit: 9457c8d172c450e64df15a9cd5fd824b34139b97 URL: https://source.winehq.org/git/wine.git/?a=commit;h=9457c8d172c450e64df15a9cd...
Author: Jan Sikorski jsikorski@codeweavers.com Date: Fri Oct 15 14:26:17 2021 +0200
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
---
dlls/d3d11/device.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c index 6d125e06ace..67264e1d862 100644 --- a/dlls/d3d11/device.c +++ b/dlls/d3d11/device.c @@ -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);
- wined3d_mutex_lock(); 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,