ddraw/tests: Fix a few compiler warnings on clang.

This commit is contained in:
Austin English 2010-10-01 02:09:18 -05:00 committed by Alexandre Julliard
parent a19a8040f5
commit b2a8b61dd5
1 changed files with 2 additions and 2 deletions

View File

@ -672,7 +672,7 @@ static void offscreen_test(IDirect3DDevice7 *device)
DWORD color;
DDSURFACEDESC2 ddsd;
static const float quad[][5] = {
static float quad[][5] = {
{-0.5f, -0.5f, 0.1f, 0.0f, 0.0f},
{-0.5f, 0.5f, 0.1f, 0.0f, 1.0f},
{ 0.5f, -0.5f, 0.1f, 1.0f, 0.0f},
@ -795,7 +795,7 @@ static void alpha_test(IDirect3DDevice7 *device)
{ 1.0f, 0.0f, 0.1f, 0xc00000ff},
{ 1.0f, 1.0f, 0.1f, 0xc00000ff},
};
static const float composite_quad[][5] = {
static float composite_quad[][5] = {
{ 0.0f, -1.0f, 0.1f, 0.0f, 1.0f},
{ 0.0f, 1.0f, 0.1f, 0.0f, 0.0f},
{ 1.0f, -1.0f, 0.1f, 1.0f, 1.0f},