diff options
| author | Ian Elliott <ianelliott@google.com> | 2015-11-19 12:37:51 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-12-01 10:18:23 -0700 |
| commit | 175510d38ca9c131f760882739b9ab3acf74c096 (patch) | |
| tree | 98f5e0c75f0841eb0a7ec64ef1bd2832eafc5340 /loader | |
| parent | e829740e8153eb9797ccd340d8caabbd29ed1bdd (diff) | |
| download | usermoji-175510d38ca9c131f760882739b9ab3acf74c096.tar.xz | |
loader: Export the trampoline code for vkGetPhysicalDeviceSurfaceSupportKHR
Also, fix which extension is used to enable this function.
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/wsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/wsi.c b/loader/wsi.c index b5848b4e..ba9a58a1 100644 --- a/loader/wsi.c +++ b/loader/wsi.c @@ -176,7 +176,7 @@ void wsi_create_instance( * This is the trampoline entrypoint * for GetPhysicalDeviceSurfaceSupportKHR */ -VKAPI_ATTR VkResult VKAPI_CALL wsi_swapchain_GetPhysicalDeviceSurfaceSupportKHR( +LOADER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkGetPhysicalDeviceSurfaceSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, @@ -222,7 +222,7 @@ bool wsi_swapchain_instance_gpa(struct loader_instance *ptr_instance, *addr = NULL; if (!strcmp("vkGetPhysicalDeviceSurfaceSupportKHR", name)) { - *addr = ptr_instance->wsi_swapchain_enabled ? (void *) wsi_swapchain_GetPhysicalDeviceSurfaceSupportKHR : NULL; + *addr = ptr_instance->wsi_surface_enabled ? (void *) vkGetPhysicalDeviceSurfaceSupportKHR : NULL; return true; } return false; |
