d3d9: Make the srgb reading test less strict.

This commit is contained in:
Stefan Dösinger 2008-04-07 13:56:27 +02:00 committed by Alexandre Julliard
parent fb8fde81d1
commit 9cd1d505bd

View File

@ -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);