mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
d3d9/tests: Be less picky about X8L8V8U8 precision.
This commit is contained in:
parent
8daf8322ba
commit
334e1600f2
@ -3079,7 +3079,8 @@ static void x8l8v8u8_test(IDirect3DDevice9 *device)
|
||||
hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
|
||||
ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %s\n", DXGetErrorString9(hr));
|
||||
color = getPixelColor(device, 578, 430);
|
||||
ok(color == 0x008262ca || color == 0x008363ca, "D3DFMT_X8L8V8U8 = 0x112131ca returns color %08x, expected 0x008262ca\n", color);
|
||||
ok(color == 0x008262ca || color == 0x008363ca || color == 0x008362ca,
|
||||
"D3DFMT_X8L8V8U8 = 0x112131ca returns color %08x, expected 0x008262ca\n", color);
|
||||
|
||||
hr = IDirect3DDevice9_SetPixelShader(device, shader2);
|
||||
ok(hr == D3D_OK, "IDirect3DDevice9_SetPixelShader failed (%08x)\n", hr);
|
||||
|
Loading…
Reference in New Issue
Block a user