Henri Verbeet : d3d9/tests: Fix a typo.

Alexandre Julliard julliard at winehq.org
Thu May 27 10:46:42 CDT 2010


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu May 27 10:23:20 2010 +0200

d3d9/tests: Fix a typo.

---

 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 cafdc2d..8e85d77 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -1207,7 +1207,7 @@ static void test_cube_wrap(IDirect3DDevice9 *device)
         DWORD *ptr = (DWORD *)(((BYTE *)locked_rect.pBits) + (y * locked_rect.Pitch));
         for (x = 0; x < 64; ++x)
         {
-            *ptr++ = 0xff0000dd;
+            *ptr++ = 0xff0000ff;
         }
         for (x = 64; x < 128; ++x)
         {
@@ -1289,7 +1289,7 @@ static void test_cube_wrap(IDirect3DDevice9 *device)
         ok(SUCCEEDED(hr), "EndScene failed (0x%08x)\n", hr);
 
         color = getPixelColor(device, 320, 240);
-        ok(color_match(color, D3DCOLOR_ARGB(0x00, 0x00, 0x00, 0xff), 11),
+        ok(color_match(color, D3DCOLOR_ARGB(0x00, 0x00, 0x00, 0xff), 1),
                 "Got color 0x%08x for addressing mode %s, expected 0x000000ff.\n",
                 color, address_modes[x].name);
 




More information about the wine-cvs mailing list