Matteo Bruni : d3dx9/tests: Don' t fail a test if volume textures are not supported.

Alexandre Julliard julliard at winehq.org
Thu May 1 14:40:01 CDT 2014


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

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Thu May  1 18:37:39 2014 +0200

d3dx9/tests: Don't fail a test if volume textures are not supported.

---

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




More information about the wine-cvs mailing list