[Bug 10992] Sacred: Crashes on enter in wine 0.9.52

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 5 11:27:32 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=10992


Rico <kgbricola at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10703|0                           |1
        is obsolete|                            |




--- Comment #30 from Rico <kgbricola at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list