Skip to content

Commit

Permalink
add leading dot for bit flags format
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanderc committed Aug 23, 2023
1 parent 2287412 commit 190a4a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generator/vulkan/render.zig
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const preamble =
\\ if (name[0] == '_') continue;
\\ if (@field(self, name)) {
\\ if (first) {
\\ try writer.writeAll(" " ++ name);
\\ try writer.writeAll(" ." ++ name);
\\ first = false;
\\ } else {
\\ try writer.writeAll(", " ++ name);
\\ try writer.writeAll(", ." ++ name);
\\ }
\\ }
\\ }
Expand Down

0 comments on commit 190a4a0

Please sign in to comment.