[PATCH 4/6] d3dx9/tests: Don't fail a test if volume textures are not supported.

Matteo Bruni mbruni at codeweavers.com
Thu May 1 11:37:39 CDT 2014


---
 dlls/d3dx9_36/tests/volume.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/d3dx9_36/tests/volume.c b/dlls/d3dx9_36/tests/volume.c
index 860a20b..53260c1 100644
--- a/dlls/d3dx9_36/tests/volume.c
+++ b/dlls/d3dx9_36/tests/volume.c
@@ -83,7 +83,6 @@ static void test_D3DXLoadVolumeFromMemory(IDirect3DDevice9 *device)
     set_box(&dst_box, 0, 0, 4, 1, 0, 4);
 
     hr = D3DXLoadVolumeFromMemory(volume, NULL, &dst_box, pixels, D3DFMT_A8R8G8B8, 16, 16, NULL, &src_box, D3DX_DEFAULT, 0);
-    ok(hr == D3D_OK, "D3DXLoadVolumeFromMemory returned %#x, expected %#x\n", hr, D3D_OK);
     if (FAILED(hr))
     {
         win_skip("D3DXLoadVolumeFromMemory failed with error %#x, skipping some tests.\n", hr);
-- 
1.8.3.2




More information about the wine-patches mailing list