Module: wine Branch: master Commit: fbdb78c88805d08ef3dcc22fa59886e833f2516f URL: http://source.winehq.org/git/wine.git/?a=commit;h=fbdb78c88805d08ef3dcc22fa5...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Tue Nov 4 19:05:06 2008 +0100
ddraw/tests: Fix a test on W2K3.
---
dlls/ddraw/tests/overlay.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/tests/overlay.c b/dlls/ddraw/tests/overlay.c index 8dd8805..d1edc1d 100644 --- a/dlls/ddraw/tests/overlay.c +++ b/dlls/ddraw/tests/overlay.c @@ -170,7 +170,8 @@ static void offscreen_test(void) { ok(hr == DD_OK, "IDirectDraw7_CreateSurface failed with hr=0x%08x\n", hr);
hr = IDirectDrawSurface7_UpdateOverlay(overlay, NULL, offscreen, NULL, DDOVER_SHOW, NULL); - ok(hr == DD_OK, "IDirectDrawSurface7_UpdateOverlay failed with hr=0x%08x\n", hr); + ok(hr == DD_OK || broken(hr == E_NOTIMPL), + "IDirectDrawSurface7_UpdateOverlay failed with hr=0x%08x\n", hr);
/* Try to overlay the primary with a non-overlay surface */ hr = IDirectDrawSurface7_UpdateOverlay(offscreen, NULL, primary, NULL, DDOVER_SHOW, NULL);