Commit d0e37372 authored by Pavel Ondračka's avatar Pavel Ondračka Committed by Alexandre Julliard

d3d9/tests: Define enums outside of struct.

parent c38df594
......@@ -1667,16 +1667,17 @@ static void color_fill_test(void)
{D3DPOOL_MANAGED, 0, D3DERR_INVALIDCALL},
{D3DPOOL_SCRATCH, 0, D3DERR_INVALIDCALL},
};
static const struct
{
D3DFORMAT format;
const char *name;
enum
enum format_flags
{
CHECK_FILL_VALUE = 0x1,
BLOCKS = 0x2,
FLOAT_VALUES = 0x4,
} flags;
};
static const struct
{
D3DFORMAT format;
const char *name;
enum format_flags flags;
unsigned int fill_i[4];
float fill_f[4];
}
......@@ -23249,16 +23250,17 @@ static void test_texture_blending(void)
DWORD value;
};
struct texture_stage
{
enum
enum texture_stage_texture
{
TEXTURE_INVALID,
TEXTURE_NONE,
TEXTURE_BUMPMAP,
TEXTURE_RED,
}
texture;
};
struct texture_stage
{
enum texture_stage_texture texture;
struct texture_stage_state state[20];
};
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