Commit d521e6c2 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d8: Get rid of the wined3d_usage_t typedef.

parent 4bf45eca
...@@ -226,12 +226,12 @@ static const enum wined3d_format_id wined3d_format_lookup[] = ...@@ -226,12 +226,12 @@ static const enum wined3d_format_id wined3d_format_lookup[] =
/*WINED3DDECLTYPE_FLOAT16_4*/ WINED3DFMT_R16G16B16A16_FLOAT, /*WINED3DDECLTYPE_FLOAT16_4*/ WINED3DFMT_R16G16B16A16_FLOAT,
}; };
typedef struct { static const struct
{
BYTE usage; BYTE usage;
BYTE usage_idx; BYTE usage_idx;
} wined3d_usage_t; }
wined3d_usage_lookup[] =
static const wined3d_usage_t wined3d_usage_lookup[] =
{ {
/* D3DVSDE_POSITION */ {WINED3D_DECL_USAGE_POSITION, 0}, /* D3DVSDE_POSITION */ {WINED3D_DECL_USAGE_POSITION, 0},
/* D3DVSDE_BLENDWEIGHT */ {WINED3D_DECL_USAGE_BLEND_WEIGHT, 0}, /* D3DVSDE_BLENDWEIGHT */ {WINED3D_DECL_USAGE_BLEND_WEIGHT, 0},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment