ddraw: Fix a failing test for broken drivers.

This commit is contained in:
James Hawkins 2008-07-01 23:19:06 -05:00 committed by Alexandre Julliard
parent 8830dbcca8
commit 11e31e580c
1 changed files with 2 additions and 2 deletions

View File

@ -1873,8 +1873,8 @@ static void CompressedTest(void)
U4(ddsd).ddpfPixelFormat.dwFourCC = MAKEFOURCC('D','X','T','1'); U4(ddsd).ddpfPixelFormat.dwFourCC = MAKEFOURCC('D','X','T','1');
hr = IDirectDraw7_CreateSurface(dd7, &ddsd, &surface, NULL); hr = IDirectDraw7_CreateSurface(dd7, &ddsd, &surface, NULL);
ok(hr == DD_OK || hr == DDERR_NOTEXTUREHW || hr == DDERR_INVALIDPARAMS, ok(hr == DD_OK || hr == DDERR_NOTEXTUREHW || hr == DDERR_INVALIDPARAMS ||
"CreateSurface returned %08x\n", hr); broken(hr == DDERR_NODIRECTDRAWHW), "CreateSurface returned %08x\n", hr);
/* Not supported everywhere */ /* Not supported everywhere */
if(SUCCEEDED(hr)) if(SUCCEEDED(hr))