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

Alexandre Julliard julliard at winehq.org
Mon Nov 14 13:33:58 CST 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Sun Nov 13 19:52:28 2011 +0100

wined3d: Get rid of the winetexturestates typedef.

---

 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
 {




More information about the wine-cvs mailing list