diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index ddeaca3..dfbf818 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -746,7 +746,8 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetDepthStencilSurface(LPDIRECT3DDE } } else { WARN("Call to IWineD3DDevice_GetDepthStencilSurface failed\n");
*ppZStencilSurface = NULL;
//*ppZStencilSurface = NULL;
} LeaveCriticalSection(&d3d9_cs);return D3DERR_INVALIDCALL;
You might cause a locking problem here, returning with d3d9_cs held.
Ciao, Marcus