Commit bcbfcd38 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d9: Avoid locking wined3d mutex around wined3d_swapchain_incref().

parent 240ebb18
......@@ -100,9 +100,7 @@ static ULONG WINAPI d3d9_swapchain_AddRef(IDirect3DSwapChain9Ex *iface)
if (swapchain->parent_device)
IDirect3DDevice9Ex_AddRef(swapchain->parent_device);
wined3d_mutex_lock();
wined3d_swapchain_incref(swapchain->wined3d_swapchain);
wined3d_mutex_unlock();
}
return refcount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment