From d3e2e84feb873eaf4490c255ea9d6ef14e7bb1b7 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 17 Nov 2010 12:39:00 +0100 Subject: [PATCH] ddraw/tests: Fix some failure messages. --- dlls/ddraw/tests/visual.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c index c756bacb5f1..2b4cf23a8c5 100644 --- a/dlls/ddraw/tests/visual.c +++ b/dlls/ddraw/tests/visual.c @@ -356,14 +356,14 @@ static void lighting_test(IDirect3DDevice7 *device) ok(hr == D3D_OK, "IDirect3DDevice7_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); hr = IDirect3DDevice7_SetRenderState(device, D3DRENDERSTATE_LIGHTING, FALSE); ok(hr == D3D_OK, "IDirect3DDevice7_SetRenderState returned %08x\n", hr);