Commit 8830dbcc authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

ddraw: Fix a failing test for broken drivers.

parent 448cfaeb
......@@ -327,7 +327,8 @@ static void LightTest(void)
light.dvAttenuation0 = zero / zero; /* NaN */
rc = IDirect3DDevice7_SetLight(lpD3DDevice, 103, &light);
ok(rc==D3D_OK, "SetLight returned: %x\n", rc);
ok(rc==D3D_OK ||
broken(rc==DDERR_INVALIDPARAMS), "SetLight returned: %x\n", rc);
/* Directional light ignores attenuation */
light.dltType = D3DLIGHT_DIRECTIONAL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment