From ed13b3ec74e41a5d3259a26c0210b397c3e32fea Mon Sep 17 00:00:00 2001 From: Robin Voetter Date: Thu, 10 Feb 2022 01:24:55 +0100 Subject: [PATCH] Update readme to new api usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 69bfd18..15849b0 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Each wrapper struct can be called with an array of the appropriate enums: ```zig const vk = @import("vulkan"); const BaseDispatch = vk.BaseWrapper(.{ - .CreateInstance, + .createInstance = true, }); ``` The wrapper struct then provides wrapper functions for each function pointer in the dispatch struct: