[PATCH] winevulkan: Fix concurrent modification in struct decoupling.
Georg Lehmann
dadschoorse at gmail.com
Thu Dec 2 16:04:35 CST 2021
This fixes the huge diffs generated by trivial winevulkan updates.
Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
---
dlls/winevulkan/make_vulkan | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/winevulkan/make_vulkan b/dlls/winevulkan/make_vulkan
index 7a9bac7e55e..ea7e9cad2f7 100755
--- a/dlls/winevulkan/make_vulkan
+++ b/dlls/winevulkan/make_vulkan
@@ -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:
--
2.34.1
More information about the wine-devel
mailing list