Henri Verbeet : d3dx9: Avoid LPD3DXSPMESH.

Alexandre Julliard julliard at winehq.org
Wed Nov 28 14:14:05 CST 2012


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Nov 27 22:10:57 2012 +0100

d3dx9: Avoid LPD3DXSPMESH.

---

 include/d3dx9mesh.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/d3dx9mesh.h b/include/d3dx9mesh.h
index 5545568..9b68a94 100644
--- a/include/d3dx9mesh.h
+++ b/include/d3dx9mesh.h
@@ -696,7 +696,8 @@ HRESULT WINAPI D3DXCreateMesh(DWORD face_count, DWORD vertex_count, DWORD flags,
 HRESULT WINAPI D3DXCreateMeshFVF(DWORD face_count, DWORD vertex_count, DWORD flags,
         DWORD fvf, struct IDirect3DDevice9 *device, struct ID3DXMesh **mesh);
 HRESULT WINAPI D3DXCreateBuffer(DWORD, LPD3DXBUFFER*);
-HRESULT WINAPI D3DXCreateSPMesh(LPD3DXMESH, CONST DWORD *, CONST D3DXATTRIBUTEWEIGHTS, CONST FLOAT *, LPD3DXSPMESH *);
+HRESULT WINAPI D3DXCreateSPMesh(ID3DXMesh *mesh, const DWORD *adjacency,
+        const D3DXATTRIBUTEWEIGHTS *attribute_weights, const float *vertex_weights, ID3DXSPMesh **spmesh);
 HRESULT WINAPI D3DXCreatePMeshFromStream(struct IStream *stream, DWORD flags, struct IDirect3DDevice9 *device,
         struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances,
         DWORD *material_count, struct ID3DXPMesh **mesh);




More information about the wine-cvs mailing list