Commit 9cd1d505 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

d3d9: Make the srgb reading test less strict.

parent fb8fde81
......@@ -6336,7 +6336,7 @@ static void srgbtexture_test(IDirect3DDevice9 *device)
ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %s\n", DXGetErrorString9(hr));
color = getPixelColor(device, 320, 240);
ok(color == 0x00363636, "srgb quad has color %08x, expected 0x00363636\n", color);
ok(color == 0x00363636 || color == 0x00373737, "srgb quad has color %08x, expected 0x00363636\n", color);
out:
if(texture) IDirect3DTexture9_Release(texture);
......
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