d3dx9_36: Implement D3DXCreateMesh and initial ID3DXMesh methods. (try 2)

Misha Koshelev misha680 at gmail.com
Wed Sep 8 19:40:37 CDT 2010


I believe I have addressed Henri's comments per:
http://wine.1045685.n5.nabble.com/Re-PATCH-2-2-d3dx9-Implement-D3DXCreateMesh-and-initial-ID3DXMesh-methods-td2807669.html#a2807669

I have fixed leaks in my error paths.

Further, the tests show that:
i) for an FVF-compatible declaration, an FVF vertex buffer is created
(the vertex buffer description contains an FVF field that is correctly
filled out)
ii) for a non-FVF compatible declaration, a non-FVF vertex buffer is
created (with FVF 0)

Thank you
Misha
---
 dlls/d3dx9_36/d3dx9_36_private.h |   18 ++
 dlls/d3dx9_36/mesh.c             |  398 +++++++++++++++++++++++++++++++++++++-
 dlls/d3dx9_36/tests/mesh.c       |  148 +++++++++++---
 3 files changed, 529 insertions(+), 35 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3dx9_36-Implement-D3DXCreateMesh-and-initial-ID3DXMes.txt
Type: text/x-patch
Size: 28411 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100908/aaa5312d/attachment-0001.bin>


More information about the wine-patches mailing list