Commit de0b3b21 authored by David Adam's avatar David Adam Committed by Alexandre Julliard

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

parent db412878
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment