http://bugs.winehq.org/show_bug.cgi?id=24913
Summary: children of the nile demo crashes with a builtin d3dx9_36 Product: Wine Version: 1.3.2 Platform: x86 URL: http://www.immortalcities.com/cotn/files/CotnDemo.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: jeremielapuree@yahoo.fr CC: wine-bugs@winehq.org
Created an attachment (id=31547) --> (http://bugs.winehq.org/attachment.cgi?id=31547) console output
With a native d3dx9_36 dll, demo works pretty fine. With a builtin one, it crashes.
I think the problem is in that line: line 80 of d3dx9_36/surface.c hr = IWICImagingFactory_CreateDecoderFromStream(factory, (IStream*)stream, NULL, 0, &decoder);
hr is not D3D_OK, so we go to line 166 and returns D3DXERR_INVALIDDATA.
It looks like that is not expected by the demo