aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-11-06 15:31:44 -0700
committerJon Ashburn <jon@lunarg.com>2015-11-06 15:34:34 -0700
commitbb0108ac9399c0248294bf462b550ec987cead23 (patch)
tree50fad8947cfc0601d330f3e0ac2021b759409e1b /loader
parenta34cb689a86ae1c6ad79fa39f88539ba746b7241 (diff)
downloadusermoji-bb0108ac9399c0248294bf462b550ec987cead23.tar.xz
loader: Compile fixes to instance extension from rebase of bug 15068 changes
Diffstat (limited to 'loader')
-rw-r--r--loader/debug_report.c4
-rw-r--r--loader/wsi_swapchain.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/loader/debug_report.c b/loader/debug_report.c
index 891dc1e8..98fd3b46 100644
--- a/loader/debug_report.c
+++ b/loader/debug_report.c
@@ -65,7 +65,7 @@ void debug_report_create_instance(
}
}
-static VkResult VKAPI debug_report_DbgCreateMsgCallback(
+static VKAPI_ATTR VkResult VKAPI_CALL debug_report_DbgCreateMsgCallback(
VkInstance instance,
VkFlags msgFlags,
const PFN_vkDbgMsgCallback pfnMsgCallback,
@@ -93,7 +93,7 @@ static VkResult VKAPI debug_report_DbgCreateMsgCallback(
return result;
}
-static VkResult VKAPI debug_report_DbgDestroyMsgCallback(
+static VKAPI_ATTR VkResult VKAPI_CALL debug_report_DbgDestroyMsgCallback(
VkInstance instance,
VkDbgMsgCallback msg_callback)
{
diff --git a/loader/wsi_swapchain.c b/loader/wsi_swapchain.c
index 41fc98d8..9070657a 100644
--- a/loader/wsi_swapchain.c
+++ b/loader/wsi_swapchain.c
@@ -62,7 +62,7 @@ void wsi_swapchain_create_instance(
* This is the trampoline entrypoint
* for GetPhysicalDeviceSurfaceSupportKHR
*/
-VkResult VKAPI wsi_swapchain_GetPhysicalDeviceSurfaceSupportKHR(
+VKAPI_ATTR VkResult VKAPI_CALL wsi_swapchain_GetPhysicalDeviceSurfaceSupportKHR(
VkPhysicalDevice physicalDevice,
uint32_t queueNodeIndex,
const VkSurfaceDescriptionKHR* pSurfaceDescription,