mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 02:19:47 +00:00
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:
parent
08c73bb85f
commit
9e725a6d58
|
@ -5857,8 +5857,10 @@ static void test_occlusion_query(void)
|
||||||
get_query_data(context, query, &data, sizeof(data));
|
get_query_data(context, query, &data, sizeof(data));
|
||||||
/* This test occasionally succeeds with CSMT enabled because of a race condition. */
|
/* This test occasionally succeeds with CSMT enabled because of a race condition. */
|
||||||
if (0)
|
if (0)
|
||||||
|
{
|
||||||
todo_wine ok(data.dword[0] == 0x1000 && !data.dword[1],
|
todo_wine ok(data.dword[0] == 0x1000 && !data.dword[1],
|
||||||
"Got unexpected query result 0x%08x%08x.\n", data.dword[1], data.dword[0]);
|
"Got unexpected query result 0x%08x%08x.\n", data.dword[1], data.dword[0]);
|
||||||
|
}
|
||||||
|
|
||||||
ID3D11Asynchronous_Release(query);
|
ID3D11Asynchronous_Release(query);
|
||||||
ID3D11RenderTargetView_Release(rtv);
|
ID3D11RenderTargetView_Release(rtv);
|
||||||
|
|
Loading…
Reference in a new issue