http://bugs.winehq.org/show_bug.cgi?id=7417
Summary: Lineage2 C4 doesn't work approx since 0.9.19-20 Product: Wine Version: 0.9.30. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: mills@rambler.ru
It show internal window with message "directx error ..." soon after creating window.
As I see in attached backtrace problem is in IWineD3DDeviceImpl_DrawIndexedPrimitive function from wined3d\device.c
With the following patch that error window gone and application started. There was no goal to find out why pIndexData was not filled with non-NULL value in that case. So there is still bug somewhere and patch is only workaround. Goal was just to run game on recent wine and not on 0.9.18.
--- device.c 2007-02-13 22:40:28 +0500 +++ device.cur.c 2007-02-14 02:49:36 +0500 @@ -4589,6 +4589,8 @@ WINED3DINDEXBUFFER_DESC IdxBufDsc;
pIB = This->stateBlock->pIndexData; + if (!pIB) return WINED3D_OK; + This->stateBlock->streamIsUP = FALSE;
TRACE("(%p) : Type=(%d,%s), min=%d, CountV=%d, startIdx=%d, countP=%d\n", This,