Re: Spore patch to fix UI and Part descriptions
21 Aug
2008
21 Aug
'08
4:23 p.m.
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; + return D3DERR_INVALIDCALL; } LeaveCriticalSection(&d3d9_cs);
You might cause a locking problem here, returning with d3d9_cs held. Ciao, Marcus
6324
Age (days ago)
6324
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcus Meissner