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

Henri Verbeet hverbeet at codeweavers.com
Tue Oct 29 04:28:06 CDT 2013


---
 dlls/d3drm/material.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/d3drm/material.c b/dlls/d3drm/material.c
index 216d913..8eb40b5 100644
--- a/dlls/d3drm/material.c
+++ b/dlls/d3drm/material.c
@@ -29,21 +29,21 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(d3drm);
 
-typedef struct
+struct color_rgb
 {
     D3DVALUE r;
     D3DVALUE g;
     D3DVALUE b;
-} color_rgb;
+};
 
 struct d3drm_material
 {
     IDirect3DRMMaterial2 IDirect3DRMMaterial2_iface;
     LONG ref;
-    color_rgb emissive;
-    color_rgb specular;
+    struct color_rgb emissive;
+    struct color_rgb specular;
     D3DVALUE power;
-    color_rgb ambient;
+    struct color_rgb ambient;
 };
 
 static inline struct d3drm_material *impl_from_IDirect3DRMMaterial2(IDirect3DRMMaterial2 *iface)
-- 
1.7.10.4




More information about the wine-patches mailing list