Commit ebe5219c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

d3d8: Release the lock instead of locking a second time (Smatch).

parent 7fe9e693
...@@ -82,7 +82,7 @@ static HRESULT WINAPI IDirect3DCubeTexture8Impl_GetDevice(LPDIRECT3DCUBETEXTURE8 ...@@ -82,7 +82,7 @@ static HRESULT WINAPI IDirect3DCubeTexture8Impl_GetDevice(LPDIRECT3DCUBETEXTURE8
IWineD3DDevice_GetParent(wined3d_device, (IUnknown **)ppDevice); IWineD3DDevice_GetParent(wined3d_device, (IUnknown **)ppDevice);
IWineD3DDevice_Release(wined3d_device); IWineD3DDevice_Release(wined3d_device);
} }
wined3d_mutex_lock(); wined3d_mutex_unlock();
return hr; return hr;
} }
......
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