Both patches work very well (they passed the todo_wine tests) But, I think that the second one does not answer to Julliard 's complain about tons of if...then Or maybe there is no way to simplify the patch
David ________________________________ De : Henri Verbeet <[email protected]> À : paulo lesgaz <[email protected]> Cc : [email protected] Envoyé le : Lun 23 août 2010, 14h 01min 01s Objet : Re: Re : d3dx9: Implement D3DXDeclaratorFromFVF. On 23 August 2010 13:49, paulo lesgaz <[email protected]> wrote: > 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 > You know, just give the attached patches a try. Untested, of course.
