d3dx9: Remove FormatType typedef.

This commit is contained in:
Rico Schüller 2012-09-03 09:57:45 +02:00 committed by Alexandre Julliard
parent 8da8811615
commit 587468dc6d
1 changed files with 3 additions and 3 deletions

View File

@ -45,10 +45,10 @@ struct volume
}; };
/* for internal use */ /* for internal use */
typedef enum _FormatType { enum format_type {
FORMAT_ARGB, /* unsigned */ FORMAT_ARGB, /* unsigned */
FORMAT_UNKNOWN FORMAT_UNKNOWN
} FormatType; };
struct pixel_format_desc { struct pixel_format_desc {
D3DFORMAT format; D3DFORMAT format;
@ -58,7 +58,7 @@ struct pixel_format_desc {
UINT block_width; UINT block_width;
UINT block_height; UINT block_height;
UINT block_byte_count; UINT block_byte_count;
FormatType type; enum format_type type;
void (*from_rgba)(const struct vec4 *src, struct vec4 *dst); void (*from_rgba)(const struct vec4 *src, struct vec4 *dst);
void (*to_rgba)(const struct vec4 *src, struct vec4 *dst); void (*to_rgba)(const struct vec4 *src, struct vec4 *dst);
}; };