Dylan Smith : d3dx9: Respect the options parameter for mesh loading.

Alexandre Julliard julliard at winehq.org
Tue Jun 7 12:02:37 CDT 2011


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

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Mon Jun  6 12:53:16 2011 -0400

d3dx9: Respect the options parameter for mesh loading.

---

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

diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index 48ae20e..5bd2cb6 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -2162,7 +2162,7 @@ static HRESULT load_skin_mesh_from_xof(IDirectXFileData *filedata,
         }
     }
 
-    hr = D3DXCreateMeshFVF(mesh_data.num_tri_faces, total_vertices, D3DXMESH_MANAGED, mesh_data.fvf, device, &d3dxmesh);
+    hr = D3DXCreateMeshFVF(mesh_data.num_tri_faces, total_vertices, options, mesh_data.fvf, device, &d3dxmesh);
     if (FAILED(hr)) goto cleanup;
 
     hr = d3dxmesh->lpVtbl->LockVertexBuffer(d3dxmesh, D3DLOCK_DISCARD, &vertices);




More information about the wine-cvs mailing list