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

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:14 +02:00 committed by Alexandre Julliard
parent 7eaae6b797
commit b02663fa06
1 changed files with 0 additions and 2 deletions

View File

@ -2656,9 +2656,7 @@ static void STDMETHODCALLTYPE d3d11_device_context_ClearState(ID3D11DeviceContex
TRACE("iface %p.\n", iface); TRACE("iface %p.\n", iface);
wined3d_mutex_lock();
wined3d_device_context_reset_state(context->wined3d_context); wined3d_device_context_reset_state(context->wined3d_context);
wined3d_mutex_unlock();
} }
static void STDMETHODCALLTYPE d3d11_device_context_Flush(ID3D11DeviceContext1 *iface) static void STDMETHODCALLTYPE d3d11_device_context_Flush(ID3D11DeviceContext1 *iface)