http://bugs.winehq.org/show_bug.cgi?id=10631
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #9463 is|0 |1 obsolete| |
--- Comment #11 from Stefan Dösinger stefandoesinger@gmx.at 2007-12-15 05:45:35 --- Created an attachment (id=9632) --> (http://bugs.winehq.org/attachment.cgi?id=9632) Another attempt
Can those of you who still have broken games give this patch a try? It takes unused and tesselated streams out of consideration.
The problem I saw in Enverex's Battlefield 2 log was that the previous patch(which is in 0.9.51 already) correctly prevented undeclared attributes from causing recompilation, but the vertex declaration had two POSITION0 attributes. One was the real one, it needs swizzling, and the other one was the array termination marker, which has POSITION0, stream 255(invalid) and D3DDECLTYPE_UNUSED(which the code considered as no swizzling).