d3dcompiler/tests: Use a reasonable adapter format in CheckDeviceFormat().

This commit is contained in:
Matteo Bruni 2012-09-18 18:18:09 +02:00 committed by Alexandre Julliard
parent ae11ba0b23
commit 19f951e86a
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ static IDirect3DDevice9 *init_d3d9(IDirect3DVertexDeclaration9 **vdeclaration,
return NULL;
}
hr = IDirect3D9_CheckDeviceFormat(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_A32B32G32R32F,
hr = IDirect3D9_CheckDeviceFormat(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8,
0, D3DRTYPE_SURFACE, D3DFMT_A32B32G32R32F);
if (FAILED(hr))
{