Stefan Dösinger : ddraw: Do not fail if D3D is not available.
Alexandre Julliard
julliard at winehq.org
Tue Apr 1 16:44:13 CDT 2008
Module: wine
Branch: master
Commit: 4066c2e2fdf70dbdd63e2663b6ecd7ad2ee24901
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4066c2e2fdf70dbdd63e2663b6ecd7ad2ee24901
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Fri Mar 28 23:09:26 2008 +0100
ddraw: Do not fail if D3D is not available.
---
dlls/ddraw/tests/d3d.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c
index f8c1a9b..eb020a6 100644
--- a/dlls/ddraw/tests/d3d.c
+++ b/dlls/ddraw/tests/d3d.c
@@ -949,8 +949,8 @@ static BOOL D3D1_createObjects(void)
ddsd.dwWidth = 256;
ddsd.dwHeight = 256;
hr = IDirectDraw_CreateSurface(DirectDraw1, &ddsd, &Surface1, NULL);
- ok(hr==DD_OK, "CreateSurface returned: %x\n", hr);
if (!Surface1) {
+ skip("DDSCAPS_3DDEVICE surface not available\n");
return FALSE;
}
More information about the wine-cvs
mailing list