diff --git a/dlls/d3d8/tests/visual.c b/dlls/d3d8/tests/visual.c
index 893a93f93ee5f57dd13fa256173d543a43065ebb..5dbc125512b8ea44f65732c5bdee816592fcd10a 100644
--- a/dlls/d3d8/tests/visual.c
+++ b/dlls/d3d8/tests/visual.c
@@ -1260,7 +1260,7 @@ static void texop_test(IDirect3DDevice8 *device)
         ok(SUCCEEDED(hr), "Present failed with 0x%08x (%s)\n", hr, DXGetErrorString8(hr));
 
         color = getPixelColor(device, 320, 240);
-        ok(color_match(color, test_data[i].result, 1), "Operation %s returned color 0x%08x, expected 0x%08x\n",
+        ok(color_match(color, test_data[i].result, 3), "Operation %s returned color 0x%08x, expected 0x%08x\n",
                 test_data[i].name, color, test_data[i].result);
     }
 
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 1a9b5fc995a3fc5ae95ff1557d0a05edcf5a2864..56159fd835dfad427abf40970d375407ae8e9484 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -9202,7 +9202,7 @@ static void texop_test(IDirect3DDevice9 *device)
         ok(SUCCEEDED(hr), "Present failed with 0x%08x (%s)\n", hr, DXGetErrorString9(hr));
 
         color = getPixelColor(device, 320, 240);
-        ok(color_match(color, test_data[i].result, 1), "Operation %s returned color 0x%08x, expected 0x%08x\n",
+        ok(color_match(color, test_data[i].result, 3), "Operation %s returned color 0x%08x, expected 0x%08x\n",
                 test_data[i].name, color, test_data[i].result);
     }