mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Pop the test context when leaving its scope.
This commit is contained in:
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
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user