dxgi: Don't grab wined3d lock for wined3d_decref().
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:
parent
98e2668949
commit
6d8cc776f5
|
@ -80,9 +80,7 @@ static ULONG STDMETHODCALLTYPE dxgi_factory_Release(IWineDXGIFactory *iface)
|
|||
if (factory->device_window)
|
||||
DestroyWindow(factory->device_window);
|
||||
|
||||
wined3d_mutex_lock();
|
||||
wined3d_decref(factory->wined3d);
|
||||
wined3d_mutex_unlock();
|
||||
wined3d_private_store_cleanup(&factory->private_store);
|
||||
heap_free(factory);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue