ddraw: Fix a failing test for broken drivers.
This commit is contained in:
parent
8830dbcca8
commit
11e31e580c
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue