d3d9/tests: Make some variables static.

This commit is contained in:
Alexandre Julliard 2010-10-01 13:36:20 +02:00
parent d7bd274eed
commit c1b1b6f184
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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 },