Henri Verbeet : d3d9/tests: Read from the appropriate pixels in test_constant_clamp_vs().

Alexandre Julliard julliard at winehq.org
Fri Jul 30 10:24:13 CDT 2010


Module: wine
Branch: master
Commit: bb201bb510777c04e5951d181d69a40b4dd52685
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bb201bb510777c04e5951d181d69a40b4dd52685

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Jul 30 10:15:28 2010 +0200

d3d9/tests: Read from the appropriate pixels in test_constant_clamp_vs().

---

 dlls/d3d9/tests/visual.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 1aecb86..48aad75 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -4806,12 +4806,12 @@ static void test_constant_clamp_vs(IDirect3DDevice9 *device)
     ok(color_match(color, D3DCOLOR_ARGB(0x00, 0xbf, 0xbf, 0x80), 1),
        "quad 2 has color %08x, expected 0x00bfbf80\n", color);
     if(shader_20) {
-        color = getPixelColor(device, 160, 120);
+        color = getPixelColor(device, 480, 120);
         ok(color_match(color, D3DCOLOR_ARGB(0x00, 0xbf, 0xbf, 0x80), 1),
            "quad 3 has color %08x, expected 0x00bfbf80\n", color);
     }
     if(shader_20_2) {
-        color = getPixelColor(device, 480, 120);
+        color = getPixelColor(device, 160, 120);
         ok(color_match(color, D3DCOLOR_ARGB(0x00, 0xbf, 0xbf, 0x80), 1),
            "quad 4 has color %08x, expected 0x00bfbf80\n", color);
     }




More information about the wine-cvs mailing list