http://bugs.winehq.org/show_bug.cgi?id=22644
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Component|-unknown |directx-ddraw
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-11-25 13:27:45 CST --- I get the sam ecrash as in comment #5. Apparently it's choking in SrcRect being NULL. A hack like below makes the app start fine for me:
diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c index 5d0a8e6..fca173b 100644 --- a/dlls/ddraw/surface.c +++ b/dlls/ddraw/surface.c @@ -904,9 +904,11 @@ static HRESULT WINAPI ddraw_surface7_Blt(IDirectDrawSurface * and replace the ddraw surfaces with the wined3d surfaces * So far no blitting operations using surfaces in the bltfx struct are sup */ + +if(SrcRect) hr = IWineD3DSurface_Blt(This->WineD3DSurface, DestRect, Src ? Src->WineD3D SrcRect, Flags, (WINEDDBLTFX *)DDBltFx, WINED3DTEXF_LINEAR); - +else hr = DDERR_UNSUPPORTED; LeaveCriticalSection(&ddraw_cs); switch(hr) {