aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2015-11-19 12:37:51 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-01 10:18:23 -0700
commit175510d38ca9c131f760882739b9ab3acf74c096 (patch)
tree98f5e0c75f0841eb0a7ec64ef1bd2832eafc5340 /loader
parente829740e8153eb9797ccd340d8caabbd29ed1bdd (diff)
downloadusermoji-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.c4
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;