Commit 38abbe3d authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

d3d8/tests: Fix test on win9x with broken driver.

parent 76ca951f
......@@ -1190,7 +1190,8 @@ static void test_lights(void)
hr = IDirect3DDevice8_LightEnable(device, i, TRUE);
ok(hr == D3D_OK, "Enabling light %u failed with %08x\n", i, hr);
hr = IDirect3DDevice8_GetLightEnable(device, i, &enabled);
ok(hr == D3D_OK, "GetLightEnable on light %u failed with %08x\n", i, hr);
ok(hr == D3D_OK || broken(hr == D3DERR_INVALIDCALL),
"GetLightEnable on light %u failed with %08x\n", i, hr);
ok(enabled, "Light %d is %s\n", i, enabled ? "enabled" : "disabled");
}
......
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