[PATCH] Skip test if no mipmap support if found

Ulrich Czekalla (none) ulrich at utop.
Sat Oct 6 09:38:36 CDT 2007


---
 dlls/d3d9/tests/texture.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/d3d9/tests/texture.c b/dlls/d3d9/tests/texture.c
index 36e9143..d0d00ee 100644
--- a/dlls/d3d9/tests/texture.c
+++ b/dlls/d3d9/tests/texture.c
@@ -146,6 +146,7 @@ static void test_mipmap_gen(IDirect3DDevice9 *device)
     if(FAILED(hr))
     {
         skip("No mipmap generation support\n");
+        return;
     }
 
     hr = IDirect3DDevice9_CreateTexture(device, 64, 64, 0, D3DUSAGE_AUTOGENMIPMAP,
-- 
1.5.2.5


--E39vaYmALEf/7YXx--



More information about the wine-patches mailing list