d3dx9_36: Fix the sprite tests to make them pass in Windows.

This commit is contained in:
David Adam 2009-07-03 18:08:19 +02:00 committed by Alexandre Julliard
parent db41287844
commit de0b3b21d5
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static void test_ID3DXSprite(IDirect3DDevice9 *device)
HRESULT hr;
IDirect3DDevice9_GetDirect3D(device, &d3d);
hr = IDirect3D9_CheckDeviceFormat(d3d, 0, D3DDEVTYPE_HAL, D3DFMT_UNKNOWN, 0, D3DRTYPE_TEXTURE, D3DFMT_A8R8G8B8);
hr = IDirect3D9_CheckDeviceFormat(d3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, D3DUSAGE_DYNAMIC, D3DRTYPE_TEXTURE, D3DFMT_A8R8G8B8);
IDirect3D9_Release(d3d);
ok (hr == D3D_OK, "D3DFMT_A8R8G8B8 not supported\n");
if (FAILED(hr)) return;