Commit 98678879 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

d3d8/tests: Remove win9x hack.

parent 7c25705e
...@@ -1306,13 +1306,9 @@ static void test_lights(void) ...@@ -1306,13 +1306,9 @@ static void test_lights(void)
/* TODO: Test the rendering results in this situation */ /* TODO: Test the rendering results in this situation */
hr = IDirect3DDevice8_LightEnable(device, i + 1, TRUE); hr = IDirect3DDevice8_LightEnable(device, i + 1, TRUE);
ok(hr == D3D_OK || ok(hr == D3D_OK, "Enabling one light more than supported returned %08x\n", hr);
broken(hr == D3DERR_INVALIDCALL), /* Some Win9x and WinME */
"Enabling one light more than supported returned %08x\n", hr);
hr = IDirect3DDevice8_GetLightEnable(device, i + 1, &enabled); hr = IDirect3DDevice8_GetLightEnable(device, i + 1, &enabled);
ok(hr == D3D_OK || ok(hr == D3D_OK, "GetLightEnable on light %u failed with %08x\n", i + 1, hr);
broken(hr == D3DERR_INVALIDCALL), /* Some Win9x and WinME */
"GetLightEnable on light %u failed with %08x\n", i + 1, hr);
ok(enabled, "Light %d is %s\n", i + 1, enabled ? "enabled" : "disabled"); ok(enabled, "Light %d is %s\n", i + 1, enabled ? "enabled" : "disabled");
hr = IDirect3DDevice8_LightEnable(device, i + 1, FALSE); hr = IDirect3DDevice8_LightEnable(device, i + 1, FALSE);
ok(hr == D3D_OK, "Disabling the additional returned %08x\n", hr); ok(hr == D3D_OK, "Disabling the additional returned %08x\n", hr);
......
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