[PATCH 3/3] Fix a test failure on Win9x/WinMe

Paul Vriens Paul.Vriens.Wine at gmail.com
Wed Oct 21 03:21:55 CDT 2009


---
 dlls/ddraw/tests/d3d.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c
index 9104147..ee49dc8 100644
--- a/dlls/ddraw/tests/d3d.c
+++ b/dlls/ddraw/tests/d3d.c
@@ -960,8 +960,7 @@ static BOOL D3D1_createObjects(void)
     ddsd.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE;
     ddsd.dwWidth = 256;
     ddsd.dwHeight = 256;
-    hr = IDirectDraw_CreateSurface(DirectDraw1, &ddsd, &Surface1, NULL);
-    ok(SUCCEEDED(hr), "IDirectDraw_CreateSurface returned %#x.\n", hr);
+    IDirectDraw_CreateSurface(DirectDraw1, &ddsd, &Surface1, NULL);
     if (!Surface1) {
         skip("DDSCAPS_3DDEVICE surface not available\n");
         return FALSE;
-- 
1.6.2.5


--------------010301020703060407060504--



More information about the wine-patches mailing list