winevulkan: Fix concurrent modification in struct decoupling.

This fixes the huge diffs generated by trivial winevulkan updates.

Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Georg Lehmann 2021-12-02 23:04:35 +01:00 committed by Alexandre Julliard
parent 27584c1449
commit 2b6c235898
2 changed files with 3522 additions and 3521 deletions

View File

@ -1895,7 +1895,8 @@ class VkStruct(Sequence):
decoupled_structs = []
while (len(tmp_structs) > 0):
for struct in tmp_structs:
# Iterate over a copy because we want to modify the list inside the loop.
for struct in list(tmp_structs):
dependends = False
if not struct.required:

File diff suppressed because it is too large Load Diff