From 64131038a4f0c3e3f5f5b95e083f0320a68de058 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 Jan 2023 15:21:36 -0500 Subject: Allow applications to specify the Vulkan library path I don't know if vendoring the Vulkan library is appropriate, but regardless, this allows applications to set the name to whatever they want, or specify an absolute path, just in case the standard value baked into Pugl isn't the right one in some situation. --- doc/c/view.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/c') diff --git a/doc/c/view.rst b/doc/c/view.rst index 0a26e14..31eab21 100644 --- a/doc/c/view.rst +++ b/doc/c/view.rst @@ -228,7 +228,7 @@ To do so, first create a :struct:`PuglVulkanLoader`: .. code-block:: c - PuglVulkanLoader* loader = puglNewVulkanLoader(world); + PuglVulkanLoader* loader = puglNewVulkanLoader(world, NULL); The loader manages the dynamically loaded Vulkan library, so it must be kept alive for as long as the application is using Vulkan. -- cgit v1.2.1