d3d8/tests: Fix some failure messages.

This commit is contained in:
Henri Verbeet 2010-11-17 12:38:59 +01:00 committed by Alexandre Julliard
parent 10ccba52e7
commit d2f23ff61e
1 changed files with 8 additions and 8 deletions

View File

@ -275,14 +275,14 @@ static void lighting_test(IDirect3DDevice8 *device)
ok(hr == D3D_OK, "IDirect3DDevice8_EndScene failed with %#08x\n", hr);
}
color = getPixelColor(device, 160, 360); /* lower left quad - unlit without normals */
ok(color == 0x00ff0000, "Unlit quad without normals has color %08x\n", color);
color = getPixelColor(device, 160, 120); /* upper left quad - lit without normals */
ok(color == 0x00000000, "Lit quad without normals has color %08x\n", color);
color = getPixelColor(device, 480, 360); /* lower left quad - unlit width normals */
ok(color == 0x000000ff, "Unlit quad width normals has color %08x\n", color);
color = getPixelColor(device, 480, 120); /* upper left quad - lit width normals */
ok(color == 0x00000000, "Lit quad width normals has color %08x\n", color);
color = getPixelColor(device, 160, 360); /* Lower left quad - unlit without normals */
ok(color == 0x00ff0000, "Unlit quad without normals has color 0x%08x, expected 0x00ff0000.\n", color);
color = getPixelColor(device, 160, 120); /* Upper left quad - lit without normals */
ok(color == 0x00000000, "Lit quad without normals has color 0x%08x, expected 0x00000000.\n", color);
color = getPixelColor(device, 480, 360); /* Lower right quad - unlit with normals */
ok(color == 0x000000ff, "Unlit quad with normals has color 0x%08x, expected 0x000000ff.\n", color);
color = getPixelColor(device, 480, 120); /* Upper right quad - lit with normals */
ok(color == 0x00000000, "Lit quad with normals has color 0x%08x, expected 0x00000000.\n", color);
IDirect3DDevice8_Present(device, NULL, NULL, NULL, NULL);