d3d11/tests: Fix a gcc -Wmisleading-indentation warning.

Because the ID3D11Asynchronous_Release(query) line is indented 4 spaces more
than the if condition gcc thinks the code is misleading.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Stefan Dösinger 2021-08-05 20:56:57 +03:00 committed by Alexandre Julliard
parent 08c73bb85f
commit 9e725a6d58
1 changed files with 5 additions and 3 deletions

View File

@ -5856,9 +5856,11 @@ static void test_occlusion_query(void)
get_query_data(context, query, &data, sizeof(data));
/* This test occasionally succeeds with CSMT enabled because of a race condition. */
if (0)
todo_wine ok(data.dword[0] == 0x1000 && !data.dword[1],
"Got unexpected query result 0x%08x%08x.\n", data.dword[1], data.dword[0]);
if (0)
{
todo_wine ok(data.dword[0] == 0x1000 && !data.dword[1],
"Got unexpected query result 0x%08x%08x.\n", data.dword[1], data.dword[0]);
}
ID3D11Asynchronous_Release(query);
ID3D11RenderTargetView_Release(rtv);