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:
parent
27584c1449
commit
2b6c235898
|
@ -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
Loading…
Reference in New Issue