[PATCH 4/5] d3drm: Get rid of the mesh_material typedef.

Henri Verbeet hverbeet at codeweavers.com
Thu Oct 31 03:40:42 CDT 2013


---
 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 5e776d5..486d787 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;
 
-- 
1.7.10.4




More information about the wine-patches mailing list