aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/vulkan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pugl/vulkan.h')
-rw-r--r--include/pugl/vulkan.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pugl/vulkan.h b/include/pugl/vulkan.h
index 487ecda..05e13e2 100644
--- a/include/pugl/vulkan.h
+++ b/include/pugl/vulkan.h
@@ -117,7 +117,7 @@ puglGetInstanceExtensions(uint32_t* count);
/**
Create a Vulkan surface for a Pugl view.
- @param loader The loader for Vulkan functions.
+ @param vkGetInstanceProcAddr Accessor for Vulkan functions.
@param view The view the surface is to be displayed on.
@param instance The Vulkan instance.
@param allocator Vulkan allocation callbacks, may be NULL.
@@ -125,7 +125,7 @@ puglGetInstanceExtensions(uint32_t* count);
@return `VK_SUCCESS` on success, or a Vulkan error code.
*/
PUGL_API VkResult
-puglCreateSurface(const PuglVulkanLoader* loader,
+puglCreateSurface(PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr,
PuglView* view,
VkInstance instance,
const VkAllocationCallbacks* allocator,