[Bug 7485] Crash in primitiveDeclarationConvertToStridedData
wine-bugs at winehq.org
Wed Apr 4 15:43:45 CDT 2007
------- Additional Comments From yoyo at wine.ksp.sk 2007-04-04 15:43 -------
I played with it a bit and this seems to be the problem (wined3d/drawprim.c
lines 166 and 176):
for (i = 0; i < vertexDeclaration->declarationWNumElements - 1; ++i)
primitiveDeclarationConvertToStridedData is sometimes called with
declarationWNumElements==0 , which is defined as UINT (unsigned) so the
for-cycle is executed...
Casting it to int:
for (i = 0; i < (int)vertexDeclaration->declarationWNumElements - 1; ++i)
solves that problem, but wine then crashes on something else...
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs