Commit ae890d54 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

d3d10core/tests: Fix erroneous color parameter.

(Spotted by warnings emitted by GCC 12.2). Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com>
parent 030c37ce
...@@ -17466,7 +17466,7 @@ static void test_generate_mips(void) ...@@ -17466,7 +17466,7 @@ static void test_generate_mips(void)
ID3D10Device_GenerateMips(device, srv); ID3D10Device_GenerateMips(device, srv);
ID3D10Device_ClearRenderTargetView(device, test_context.backbuffer_rtv, &white.w); ID3D10Device_ClearRenderTargetView(device, test_context.backbuffer_rtv, &white.x);
srv_desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; srv_desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
srv_desc.ViewDimension = D3D10_SRV_DIMENSION_TEXTURE2D; srv_desc.ViewDimension = D3D10_SRV_DIMENSION_TEXTURE2D;
...@@ -17498,7 +17498,7 @@ static void test_generate_mips(void) ...@@ -17498,7 +17498,7 @@ static void test_generate_mips(void)
ID3D10Device_GenerateMips(device, srv); ID3D10Device_GenerateMips(device, srv);
ID3D10Device_ClearRenderTargetView(device, test_context.backbuffer_rtv, &white.w); ID3D10Device_ClearRenderTargetView(device, test_context.backbuffer_rtv, &white.x);
srv_desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; srv_desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
srv_desc.ViewDimension = D3D10_SRV_DIMENSION_TEXTURE2D; srv_desc.ViewDimension = D3D10_SRV_DIMENSION_TEXTURE2D;
......
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