http://bugs.winehq.org/show_bug.cgi?id=10992
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #10703|0 |1 is obsolete| |
--- Comment #30 from Rico kgbricola@web.de 2008-03-05 11:27:32 --- Created an attachment (id=11127) --> (http://bugs.winehq.org/attachment.cgi?id=11127) try to solve the right thing ;-)
I think I've found the problem ... could you have a look here. I fixed both functions (not only the one which lets sacred crash - IDirect3DDeviceImpl_7_DrawIndexedPrimitiveStrided). In these functions there is short after the patched lines a line which looks similar to the problem but for specular. How to handle this? Because there isn't a function which could be called (invalid_func)!
if(VertexType & D3DFVF_SPECULAR) { WineD3DStrided.u.s.specular.lpData = D3DDrawPrimStrideData->specular.lpvData; WineD3DStrided.u.s.specular.dwStride = D3DDrawPrimStrideData->specular.dwStride; WineD3DStrided.u.s.specular.dwType = WINED3DDECLTYPE_SHORT4; }
I try to write a test for the original problem and for the other case (specular) and check what happens on windows if these are set.