Henri Verbeet : d3drm: Get rid of the mesh_material typedef.
Module: wine Branch: master Commit: 22d40f0305608d2715d482750c6cc169e16cee59 URL: http://source.winehq.org/git/wine.git/?a=commit;h=22d40f0305608d2715d482750c... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Thu Oct 31 09:40:42 2013 +0100 d3drm: Get rid of the mesh_material typedef. --- dlls/d3drm/meshbuilder.c | 7 ++++--- 1 files 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;
participants (1)
-
Alexandre Julliard