d3d9: Get rid of the D3DDECLTYPE_INFO typedef.

oldstable
Henri Verbeet 2012-05-24 18:27:44 +02:00 committed by Alexandre Julliard
parent d521e6c287
commit 8560f36cb8
1 changed files with 5 additions and 4 deletions

View File

@ -24,14 +24,15 @@
WINE_DEFAULT_DEBUG_CHANNEL(d3d9);
typedef struct _D3DDECLTYPE_INFO {
static const struct
{
D3DDECLTYPE d3dType;
enum wined3d_format_id format;
int size;
int typesize;
} D3DDECLTYPE_INFO;
static D3DDECLTYPE_INFO const d3d_dtype_lookup[D3DDECLTYPE_UNUSED] = {
}
d3d_dtype_lookup[] =
{
{D3DDECLTYPE_FLOAT1, WINED3DFMT_R32_FLOAT, 1, sizeof(float)},
{D3DDECLTYPE_FLOAT2, WINED3DFMT_R32G32_FLOAT, 2, sizeof(float)},
{D3DDECLTYPE_FLOAT3, WINED3DFMT_R32G32B32_FLOAT, 3, sizeof(float)},