From 19f951e86a253a10bb908bc9c99fc6ab60ca9e81 Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Tue, 18 Sep 2012 18:18:09 +0200 Subject: [PATCH] d3dcompiler/tests: Use a reasonable adapter format in CheckDeviceFormat(). --- dlls/d3dcompiler_43/tests/hlsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3dcompiler_43/tests/hlsl.c b/dlls/d3dcompiler_43/tests/hlsl.c index 837a72e0fd5..a528e8015e3 100644 --- a/dlls/d3dcompiler_43/tests/hlsl.c +++ b/dlls/d3dcompiler_43/tests/hlsl.c @@ -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)) {