Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fixed compilation error in README.md example #166

Merged
merged 1 commit into from
Oct 16, 2024
Merged

docs: Fixed compilation error in README.md example #166

merged 1 commit into from
Oct 16, 2024

Conversation

V-Fries
Copy link
Contributor

@V-Fries V-Fries commented Oct 16, 2024

Fixed errors in the example code that shows how to use the vulkan_headers dependency to generate the bindings.

The errors were:
generate_cmd.addArg(registry);: generate_cmd variable does not exist, it should be vk_generate_cmd
vk_generate_cmd.addArg(registry);: addArg() takes a []const u8 and was given a LazyPath, used addFileArg() instead

@Snektron
Copy link
Owner

Well spotted! Thanks

@Snektron Snektron merged commit e43d635 into Snektron:master Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants