Skip to content

Commit

Permalink
Merge pull request #155 from MilkywayPirate/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Snektron authored Aug 12, 2024
2 parents d7ad51c + 543381c commit 54ab76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const vkzig_dep = b.dependency("vulkan_zig", .{
.registry = @as([]const u8, b.pathFromRoot("path/to/vk.xml")),
});
const vkzig_bindings = vkzig_dep.module("vulkan-zig");
exe.addModule("vulkan", vkzig_bindings);
exe.root_module.addImport("vulkan", vkzig_bindings);
```
That will allow you to `@import("vulkan")` in your executable's source.

Expand Down

0 comments on commit 54ab76b

Please sign in to comment.