Commit 2b6c2358 authored by Georg Lehmann's avatar Georg Lehmann Committed by Alexandre Julliard

winevulkan: Fix concurrent modification in struct decoupling.

This fixes the huge diffs generated by trivial winevulkan updates. Signed-off-by: 's avatarGeorg Lehmann <dadschoorse@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 27584c14
...@@ -1895,7 +1895,8 @@ class VkStruct(Sequence): ...@@ -1895,7 +1895,8 @@ class VkStruct(Sequence):
decoupled_structs = [] decoupled_structs = []
while (len(tmp_structs) > 0): 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 dependends = False
if not struct.required: if not struct.required:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment