d3dx9_36: Implement D3DXCreateMesh and initial ID3DXMesh methods. (try 2)
Henri Verbeet
hverbeet at gmail.com
Thu Sep 9 04:37:34 CDT 2010
On 9 September 2010 02:40, Misha Koshelev <misha680 at gmail.com> wrote:
> + while (count < MAX_FVF_DECL_SIZE && (count == 0 || declaration[count-1].Stream != 0xFF))
> + {
> + count++;
> + }
> + if (count > 1)
> + {
> + vertex_size = declaration[count-2].Offset + d3dx_decltype_size[declaration[count-2].Type];
> + }
You may want to consider using D3DXGetDeclVertexSize() there.
More information about the wine-devel
mailing list