[1/2] d3dx9_36: D3DXDeclaratorFromFVF returns D3DERR_INVALIDCALL when an invalid declarator is passed.
hverbeet at gmail.com
Wed Sep 22 01:04:28 CDT 2010
On 22 September 2010 03:26, Misha Koshelev <misha680 at gmail.com> wrote:
> Credit for the idea of comparing the result of D3DXDeclaratorFromFVF
> to D3DXFVFFromDeclarator goes to Tony Wasserka:
> (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().
More information about the wine-devel