d3d9/tests: only skip the visual tests if d3d cannot be initialized on Windows

Austin English austinenglish at gmail.com
Mon Oct 17 17:25:21 CDT 2011


A followup patch to http://source.winehq.org/patches/data/79807.
Currently d3d8 fails on Wine if d3d cannot be initialized, while d3d9
skips. This unifies the behavior, by having d3d9 fail as well on Wine.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 972f8d6..75132ff 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -174,7 +174,7 @@ static IDirect3DDevice9 *init_d3d9(void)
     d3d9_ptr = d3d9_create(D3D_SDK_VERSION);
     if (!d3d9_ptr)
     {
-        skip("could not create D3D9\n");
+        win_skip("could not create D3D9\n");
         return NULL;
     }
 


More information about the wine-patches mailing list