[PATCH 5/5] wined3d: Get rid of the WINED3DVECTOR typedef.

Henri Verbeet hverbeet at codeweavers.com
Wed Nov 16 13:08:07 CST 2011


---
 include/wine/wined3d.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index 3cf3ec0..5e0423b 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -1525,12 +1525,12 @@ struct wined3d_color
     float a;
 };
 
-typedef struct _WINED3DVECTOR
+struct wined3d_vec3
 {
     float x;
     float y;
     float z;
-} WINED3DVECTOR;
+};
 
 typedef struct _WINED3DMATRIX
 {
@@ -1553,8 +1553,8 @@ typedef struct _WINED3DLIGHT
     struct wined3d_color Diffuse;
     struct wined3d_color Specular;
     struct wined3d_color Ambient;
-    WINED3DVECTOR Position;
-    WINED3DVECTOR Direction;
+    struct wined3d_vec3 Position;
+    struct wined3d_vec3 Direction;
     float Range;
     float Falloff;
     float Attenuation0;
-- 
1.7.3.4




More information about the wine-patches mailing list