Commit 9e725a6d authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

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: 's avatarStefan Dösinger <stefan@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 08c73bb8
......@@ -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);
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