Henri Verbeet : wined3d: Get rid of the SHADER_LIMITS typedef.

Alexandre Julliard julliard at winehq.org
Wed May 11 13:02:56 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue May 10 21:18:48 2011 +0200

wined3d: Get rid of the SHADER_LIMITS typedef.

---

 dlls/wined3d/wined3d_private.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 4d1ce8b..599f449 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2557,7 +2557,8 @@ typedef struct local_constant {
     DWORD value[4];
 } local_constant;
 
-typedef struct SHADER_LIMITS {
+struct wined3d_shader_limits
+{
     unsigned int temporary;
     unsigned int texcoord;
     unsigned int sampler;
@@ -2569,7 +2570,7 @@ typedef struct SHADER_LIMITS {
     unsigned int packed_input;
     unsigned int attributes;
     unsigned int label;
-} SHADER_LIMITS;
+};
 
 #ifdef __GNUC__
 #define PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
@@ -2606,7 +2607,7 @@ struct wined3d_pixel_shader
 struct wined3d_shader
 {
     LONG ref;
-    SHADER_LIMITS limits;
+    struct wined3d_shader_limits limits;
     DWORD *function;
     UINT functionLength;
     BOOL load_local_constsF;




More information about the wine-cvs mailing list