David Adam : d3dx9_36: Implement ID3DXMesh_GetNumBytesPerVertex.

Alexandre Julliard julliard at winehq.org
Fri Mar 4 09:39:36 CST 2011


Module: wine
Branch: master
Commit: 68da568f16bfcd8aba1b6d0073b8bc29938d8537
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=68da568f16bfcd8aba1b6d0073b8bc29938d8537

Author: David Adam <david.adam.cnrs at gmail.com>
Date:   Fri Mar  4 08:49:14 2011 +0100

d3dx9_36: Implement ID3DXMesh_GetNumBytesPerVertex.

---

 dlls/d3dx9_36/mesh.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index f8f7c48..0ccced6 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -156,9 +156,9 @@ static DWORD WINAPI ID3DXMeshImpl_GetNumBytesPerVertex(ID3DXMesh *iface)
 {
     ID3DXMeshImpl *This = impl_from_ID3DXMesh(iface);
 
-    FIXME("(%p): stub\n", This);
+    TRACE("iface (%p)\n", This);
 
-    return 0; /* arbitrary since we cannot return E_NOTIMPL */
+    return D3DXGetFVFVertexSize(This->fvf);
 }
 
 static DWORD WINAPI ID3DXMeshImpl_GetOptions(ID3DXMesh *iface)




More information about the wine-cvs mailing list