Commit c1b1b6f1 authored by Alexandre Julliard's avatar Alexandre Julliard

d3d9/tests: Make some variables static.

parent d7bd274e
......@@ -2069,7 +2069,7 @@ struct formats {
BOOL shouldPass;
};
struct formats r5g6b5_format_list[] =
static const struct formats r5g6b5_format_list[] =
{
{ D3DFMT_R5G6B5, D3DFMT_R5G6B5, TRUE },
{ D3DFMT_R5G6B5, D3DFMT_X1R5G5B5, FALSE },
......@@ -2079,7 +2079,7 @@ struct formats r5g6b5_format_list[] =
{ 0, 0, 0}
};
struct formats x1r5g5b5_format_list[] =
static const struct formats x1r5g5b5_format_list[] =
{
{ D3DFMT_X1R5G5B5, D3DFMT_R5G6B5, FALSE },
{ D3DFMT_X1R5G5B5, D3DFMT_X1R5G5B5, TRUE },
......@@ -2096,7 +2096,7 @@ struct formats x1r5g5b5_format_list[] =
{ 0, 0, 0}
};
struct formats x8r8g8b8_format_list[] =
static const struct formats x8r8g8b8_format_list[] =
{
{ D3DFMT_X8R8G8B8, D3DFMT_R5G6B5, FALSE },
{ D3DFMT_X8R8G8B8, D3DFMT_X1R5G5B5, FALSE },
......@@ -2347,7 +2347,7 @@ fail:
}
static HWND filter_messages;
struct
static struct
{
HWND window;
UINT message;
......
......@@ -8819,7 +8819,7 @@ struct formats {
DWORD resultColorNoBlending;
};
const struct formats test_formats[] = {
static const struct formats test_formats[] = {
{ "D3DFMT_G16R16", D3DFMT_G16R16, 0x001818ff, 0x002010ff},
{ "D3DFMT_R16F", D3DFMT_R16F, 0x0018ffff, 0x0020ffff },
{ "D3DFMT_G16R16F", D3DFMT_G16R16F, 0x001818ff, 0x002010ff },
......
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