Spore patch to fix UI and Part descriptions

Marcus Meissner meissner at suse.de
Thu Aug 21 11:23:47 CDT 2008


> 
> 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



More information about the wine-devel mailing list