d3dx9/tests: Make the pixels array static.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
eadc7b3128
commit
15dd8e2b98
|
@ -1403,7 +1403,7 @@ static void test_D3DXSaveSurfaceToFileInMemory(IDirect3DDevice9 *device)
|
||||||
|
|
||||||
static void test_D3DXSaveSurfaceToFile(IDirect3DDevice9 *device)
|
static void test_D3DXSaveSurfaceToFile(IDirect3DDevice9 *device)
|
||||||
{
|
{
|
||||||
const BYTE pixels[] =
|
static const BYTE pixels[] =
|
||||||
{0xff, 0x00, 0x00, 0x00, 0xff, 0x00,
|
{0xff, 0x00, 0x00, 0x00, 0xff, 0x00,
|
||||||
0x00, 0x00, 0xff, 0x00, 0x00, 0xff,};
|
0x00, 0x00, 0xff, 0x00, 0x00, 0xff,};
|
||||||
DWORD pitch = sizeof(pixels) / 2;
|
DWORD pitch = sizeof(pixels) / 2;
|
||||||
|
|
Loading…
Reference in New Issue