d3d8/tests: turn a win_skip into a skip

André Hentschel nerv at dawncrow.de
Fri Nov 13 18:49:19 CST 2009


This one can also happen in wine without should being a failure.
if init_d3d8 cleanly skips with "could not create D3D8" then here we should skip too.
---
 dlls/d3d8/tests/visual.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d8/tests/visual.c b/dlls/d3d8/tests/visual.c
index ad5c4c5..132a753 100644
--- a/dlls/d3d8/tests/visual.c
+++ b/dlls/d3d8/tests/visual.c
@@ -1309,7 +1309,7 @@ START_TEST(visual)
     device_ptr = init_d3d8();
     if (!device_ptr)
     {
-        win_skip("Could not initialize direct3d\n");
+        skip("Could not initialize direct3d\n");
         return;
     }
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list