[Bug 7970] D3DERR_INVALIDCALL when building is deshrouded in C&C 3, probably vertex shaders

Wine Bugs wine-bugs at winehq.org
Sat Apr 7 19:37:40 CDT 2007


------- Additional Comments From rm at eightyfive.net  2007-07-04 19:37 -------
Created an attachment (id=5678)
 --> (http://bugs.winehq.org/attachment.cgi?id=5678&action=view)
fix for wined3d/surface.c which causes the D3DERR_INVALIDCALL

after adding adding an error message to every return of D3DERR_INVALIDCALL and
WINED3D_INVALIDCALL i found out that the crash is caused by a validity check in

this patch fixes the problem by allowing pRect->left = pRect->right (which is
=0 when the crash occurs).

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 mailing list