Commit 865be8d
committed
Remove the use of globals in implementation
Queries and propagates all of the required function pointers into each struct
that needs it, removing the need for a global function/variable to store the
loaded vulkan functions.
This does require changing the API of the SwapchainBuilder constructor which
takes Vulkan handles directly to include the VkInstance, since otherwise it is
impossible to load the required functions.1 parent d1aa45d commit 865be8d
File tree
3 files changed
+425
-254
lines changed- src
- tests
3 files changed
+425
-254
lines changed
0 commit comments