[PATCH 5/5] Fix a test failure on systems with no DirectDraw7
Paul Vriens
Paul.Vriens.Wine at gmail.com
Mon Nov 2 05:03:32 CST 2009
---
dlls/ddraw/tests/ddrawmodes.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/ddraw/tests/ddrawmodes.c b/dlls/ddraw/tests/ddrawmodes.c
index d8026ef..e44c6bc 100644
--- a/dlls/ddraw/tests/ddrawmodes.c
+++ b/dlls/ddraw/tests/ddrawmodes.c
@@ -654,6 +654,11 @@ static void testddraw7(void)
DWORD *pend;
hr = IDirectDraw_QueryInterface(lpDD, &IID_IDirectDraw7, (void **) &dd7);
+ if (hr==E_NOINTERFACE)
+ {
+ win_skip("DirectDraw7 is not supported\n");
+ return;
+ }
ok(hr==DD_OK, "IDirectDraw7_QueryInterface returned %08x\n", hr);
if (hr==DD_OK)
--
1.6.2.5
--------------090007040202070905040404--
More information about the wine-patches
mailing list