Henri Verbeet : d3drm: Get rid of the color_rgb typedef.

Alexandre Julliard julliard at winehq.org
Tue Oct 29 15:12:25 CDT 2013


Module: wine
Branch: master
Commit: 0365d7a93b8b27d9deda435c1f39a011debc1025
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0365d7a93b8b27d9deda435c1f39a011debc1025

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Oct 29 10:28:06 2013 +0100

d3drm: Get rid of the color_rgb typedef.

---

 dlls/d3drm/material.c |   10 +++++-----
 1 files 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)




More information about the wine-cvs mailing list