Made vulkan-zig conform to new multi for syntax

This commit is contained in:
antlilja
2023-02-20 14:54:12 +01:00
parent ac035d5ebe
commit 07b13e976f
5 changed files with 11 additions and 11 deletions

View File

@@ -103,7 +103,7 @@ pub const Generator = struct {
const result = try parseXml(allocator, spec);
const tags = try allocator.alloc([]const u8, result.registry.tags.len);
for (tags) |*tag, i| tag.* = result.registry.tags[i].name;
for (tags, result.registry.tags) |*tag, registry_tag| tag.* = registry_tag.name;
return Generator{
.arena = result.arena,