Fix calling convention on vulkan layer function. Closes #1500

This commit is contained in:
baldurk
2019-08-22 10:14:39 +01:00
parent c077e8f992
commit 4c9fec4cb4
+2 -2
View File
@@ -408,8 +408,8 @@ VK_LAYER_RENDERDOC_CaptureGetInstanceProcAddr(VkInstance instance, const char *p
}
// layer interface negotation (new interface)
VK_LAYER_EXPORT VKAPI_ATTR VkResult VK_LAYER_RENDERDOC_CaptureNegotiateLoaderLayerInterfaceVersion(
VkNegotiateLayerInterface *pVersionStruct)
VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL
VK_LAYER_RENDERDOC_CaptureNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct)
{
if(pVersionStruct->sType != LAYER_NEGOTIATE_INTERFACE_STRUCT)
return VK_ERROR_INITIALIZATION_FAILED;