aboutsummaryrefslogtreecommitdiffstats
path: root/doc/c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/c')
-rw-r--r--doc/c/view.rst2
1 files changed, 1 insertions, 1 deletions
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.