ddraw: Fix a failing test for broken drivers.
This commit is contained in:
parent
448cfaeb8f
commit
8830dbcca8
|
@ -327,7 +327,8 @@ static void LightTest(void)
|
||||||
|
|
||||||
light.dvAttenuation0 = zero / zero; /* NaN */
|
light.dvAttenuation0 = zero / zero; /* NaN */
|
||||||
rc = IDirect3DDevice7_SetLight(lpD3DDevice, 103, &light);
|
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 */
|
/* Directional light ignores attenuation */
|
||||||
light.dltType = D3DLIGHT_DIRECTIONAL;
|
light.dltType = D3DLIGHT_DIRECTIONAL;
|
||||||
|
|
Loading…
Reference in New Issue