From 22d40f0305608d2715d482750c6cc169e16cee59 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 31 Oct 2013 09:40:42 +0100 Subject: [PATCH] d3drm: Get rid of the mesh_material typedef. --- dlls/d3drm/meshbuilder.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c index 5e776d5928e..486d787acb5 100644 --- a/dlls/d3drm/meshbuilder.c +++ b/dlls/d3drm/meshbuilder.c @@ -62,11 +62,12 @@ struct coords_2d D3DVALUE v; }; -typedef struct { +struct mesh_material +{ D3DCOLOR color; IDirect3DRMMaterial2 *material; IDirect3DRMTexture3 *texture; -} mesh_material; +}; typedef struct { IDirect3DRMMeshBuilder2 IDirect3DRMMeshBuilder2_iface; @@ -86,7 +87,7 @@ typedef struct { IDirect3DRMMaterial2 *material; IDirect3DRMTexture3 *texture; DWORD nb_materials; - mesh_material *materials; + struct mesh_material *materials; DWORD *material_indices; } IDirect3DRMMeshBuilderImpl;