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

Henri Verbeet hverbeet at codeweavers.com
Sun Nov 13 12:52:28 CST 2011


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

diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index d36c017..a331f4e 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1841,7 +1841,8 @@ void resource_unload(struct wined3d_resource *resource) DECLSPEC_HIDDEN;
 /* Tests show that the start address of resources is 32 byte aligned */
 #define RESOURCE_ALIGNMENT 16
 
-typedef enum winetexturestates {
+enum wined3d_texture_state
+{
     WINED3DTEXSTA_ADDRESSU       = 0,
     WINED3DTEXSTA_ADDRESSV       = 1,
     WINED3DTEXSTA_ADDRESSW       = 2,
@@ -1854,7 +1855,7 @@ typedef enum winetexturestates {
     WINED3DTEXSTA_SRGBTEXTURE    = 9,
     WINED3DTEXSTA_SHADOW         = 10,
     MAX_WINETEXTURESTATES        = 11,
-} winetexturestates;
+};
 
 enum WINED3DSRGB
 {
-- 
1.7.3.4




More information about the wine-patches mailing list