I already sent such a patch. Julliard did not like the gazillions of conditions if.... then. I never found a way to avoid them. The offset can be computed thanks to the function D3DXGetDeclVertexSize
A+
David
________________________________ De : Henri Verbeet hverbeet@gmail.com À : wine-devel@winehq.org Envoyé le : Lun 23 août 2010, 12h 03min 16s Objet : Re: d3dx9: Implement D3DXDeclaratorFromFVF.
On 20 August 2010 21:16, Misha Koshelev misha680@gmail.com wrote:
Thank you for your helpful feedback on my tests.
This is based mostly on dlls/d3d9/vertexdeclaration.c with some changes specific to D3DXDeclaratorFromFVF.
Again, if there are any suggested changes please let me know.
As you already mentioned, this is pretty much another copy/paste implementation, including e.g. the useless macros and typedef.