d3dx9: Implement GetNumBytesPerVertex using the vertex declaration.
authorDylan Smith <dylan.ah.smith@gmail.com>
Wed, 27 Apr 2011 22:11:58 +0000 (18:11 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 28 Apr 2011 09:10:00 +0000 (11:10 +0200)
commitb2dac1df27a773ab4d63f92aa3248b97e1e56076
tree0136e04a92f789c6c857845fb56d768e160c3933
parent96d5d06f2bbe39e189a183f22298ec6c0474ff35
d3dx9: Implement GetNumBytesPerVertex using the vertex declaration.

If a declaration without a corresponding FVF is used to create the mesh,
then its declaration must be used to get the vertex size.
dlls/d3dx9_36/mesh.c
dlls/d3dx9_36/tests/mesh.c