tests: Pop the test context when leaving its scope.

This commit is contained in:
Giovanni Mascellani 2024-04-05 23:16:38 +02:00 committed by Alexandre Julliard
parent 59a5d8f852
commit 0be29f78c0
Notes: Alexandre Julliard 2024-04-11 17:03:42 -05:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/765

View File

@ -32472,7 +32472,10 @@ static void test_resource_allocation_info(void)
ok(infos1[i].SizeInBytes == sizes[i], "Got unexpected size %"PRIu64".\n", infos1[i].SizeInBytes);
if (!i)
{
vkd3d_test_pop_context();
continue;
}
ok(infos1[i].Offset - infos1[i - 1].Offset >= infos1[i - 1].SizeInBytes,
"Got unexpected prev size %"PRIu64", prev offset %"PRIu64", offset %"PRIu64".\n",