On 22 September 2010 03:26, Misha Koshelev misha680@gmail.com wrote:
Credit for the idea of comparing the result of D3DXDeclaratorFromFVF to D3DXFVFFromDeclarator goes to Tony Wasserka: http://repo.or.cz/w/wine/d3dx9TW.git/blob/Merge:/dlls/d3dx9_36/mesh.c (see line 405, and his comparison is vice versa - i.e., D3DXDeclaratorFromFVF to D3DXFVFFromDeclarator)
That's insane. Any FVF validation should be done before starting the conversion, not afterwards by calling D3DXFVFFromDeclarator().