ddraw: Some drivers return DDERR_INVALIDPARAMS if DXTn surfaces aren't supported.
This commit is contained in:
parent
44948c3b38
commit
1f4d71c0f6
|
@ -1787,7 +1787,8 @@ static void CompressedTest(void)
|
|||
U4(ddsd).ddpfPixelFormat.dwFourCC = MAKEFOURCC('D','X','T','1');
|
||||
|
||||
hr = IDirectDraw7_CreateSurface(dd7, &ddsd, &surface, NULL);
|
||||
ok(hr == DD_OK || hr == DDERR_NOTEXTUREHW, "CreateSurface returned %08x\n", hr);
|
||||
ok(hr == DD_OK || hr == DDERR_NOTEXTUREHW || hr == DDERR_INVALIDPARAMS,
|
||||
"CreateSurface returned %08x\n", hr);
|
||||
|
||||
/* Not supported everywhere */
|
||||
if(SUCCEEDED(hr))
|
||||
|
|
Loading…
Reference in New Issue