Rico Schüller : d3dx9: Remove FormatType typedef.
Module: wine Branch: master Commit: 587468dc6d48d5446b7b228834077ca42984f0c7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=587468dc6d48d5446b7b228834... Author: Rico Schüller <kgbricola(a)web.de> Date: Mon Sep 3 09:57:45 2012 +0200 d3dx9: Remove FormatType typedef. --- dlls/d3dx9_36/d3dx9_36_private.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/d3dx9_36/d3dx9_36_private.h b/dlls/d3dx9_36/d3dx9_36_private.h index a5b3070..f6f797e 100644 --- a/dlls/d3dx9_36/d3dx9_36_private.h +++ b/dlls/d3dx9_36/d3dx9_36_private.h @@ -45,10 +45,10 @@ struct volume }; /* for internal use */ -typedef enum _FormatType { +enum format_type { FORMAT_ARGB, /* unsigned */ FORMAT_UNKNOWN -} FormatType; +}; struct pixel_format_desc { D3DFORMAT format; @@ -58,7 +58,7 @@ struct pixel_format_desc { UINT block_width; UINT block_height; UINT block_byte_count; - FormatType type; + enum format_type type; void (*from_rgba)(const struct vec4 *src, struct vec4 *dst); void (*to_rgba)(const struct vec4 *src, struct vec4 *dst); };
participants (1)
-
Alexandre Julliard