mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 23:58:56 +00:00
d3d9/tests: Get rid of struct vertex_floatcolor.
This commit is contained in:
parent
0cae65d494
commit
30437f9fe4
@ -7943,11 +7943,6 @@ done:
|
|||||||
DestroyWindow(window);
|
DestroyWindow(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct vertex_floatcolor {
|
|
||||||
float x, y, z;
|
|
||||||
float r, g, b, a;
|
|
||||||
};
|
|
||||||
|
|
||||||
static void fixed_function_decl_test(void)
|
static void fixed_function_decl_test(void)
|
||||||
{
|
{
|
||||||
IDirect3DVertexDeclaration9 *dcl_float = NULL, *dcl_short = NULL, *dcl_ubyte = NULL, *dcl_color = NULL;
|
IDirect3DVertexDeclaration9 *dcl_float = NULL, *dcl_short = NULL, *dcl_ubyte = NULL, *dcl_color = NULL;
|
||||||
@ -8029,12 +8024,17 @@ static void fixed_function_decl_test(void)
|
|||||||
{{1.0f, -1.0f, 0.1f}, {0x0000, 0x0000, 0xffff, 0xffff}},
|
{{1.0f, -1.0f, 0.1f}, {0x0000, 0x0000, 0xffff, 0xffff}},
|
||||||
{{1.0f, 0.0f, 0.1f}, {0x0000, 0x0000, 0xffff, 0xffff}},
|
{{1.0f, 0.0f, 0.1f}, {0x0000, 0x0000, 0xffff, 0xffff}},
|
||||||
};
|
};
|
||||||
static const struct vertex_floatcolor quad4[] =
|
static const struct
|
||||||
{
|
{
|
||||||
{ 0.0f, 0.0f, 0.1f, 1.0, 0.0, 0.0, 0.0},
|
struct vec3 position;
|
||||||
{ 0.0f, 1.0f, 0.1f, 1.0, 0.0, 0.0, 0.0},
|
struct vec4 color;
|
||||||
{ 1.0f, 0.0f, 0.1f, 1.0, 0.0, 0.0, 0.0},
|
}
|
||||||
{ 1.0f, 1.0f, 0.1f, 1.0, 0.0, 0.0, 0.0},
|
quad4[] =
|
||||||
|
{
|
||||||
|
{{0.0f, 0.0f, 0.1f}, {1.0f, 0.0f, 0.0f, 0.0f}},
|
||||||
|
{{0.0f, 1.0f, 0.1f}, {1.0f, 0.0f, 0.0f, 0.0f}},
|
||||||
|
{{1.0f, 0.0f, 0.1f}, {1.0f, 0.0f, 0.0f, 0.0f}},
|
||||||
|
{{1.0f, 1.0f, 0.1f}, {1.0f, 0.0f, 0.0f, 0.0f}},
|
||||||
};
|
};
|
||||||
static const DWORD colors[] =
|
static const DWORD colors[] =
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user