Commit 697a9a1a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

d3dx9_36: COM cleanup for the ID3DXMesh iface.

parent a9065082
...@@ -50,24 +50,6 @@ HRESULT load_resource_into_memory(HMODULE module, HRSRC resinfo, LPVOID *buffer, ...@@ -50,24 +50,6 @@ HRESULT load_resource_into_memory(HMODULE module, HRSRC resinfo, LPVOID *buffer,
const PixelFormatDesc *get_format_info(D3DFORMAT format); const PixelFormatDesc *get_format_info(D3DFORMAT format);
const PixelFormatDesc *get_format_info_idx(int idx); const PixelFormatDesc *get_format_info_idx(int idx);
/* ID3DXMesh */
typedef struct ID3DXMeshImpl
{
/* IUnknown fields */
const ID3DXMeshVtbl *lpVtbl;
LONG ref;
/* ID3DXMesh fields */
DWORD numfaces;
DWORD numvertices;
DWORD options;
DWORD fvf;
IDirect3DDevice9 *device;
IDirect3DVertexDeclaration9 *vertex_declaration;
IDirect3DVertexBuffer9 *vertex_buffer;
IDirect3DIndexBuffer9 *index_buffer;
} ID3DXMeshImpl;
/*ID3DXSprite */ /*ID3DXSprite */
typedef struct _SPRITE { typedef struct _SPRITE {
LPDIRECT3DTEXTURE9 texture; LPDIRECT3DTEXTURE9 texture;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment