v127: Use PFN_vkVoidFunction for GetProcAddr
diff --git a/layers/multi.cpp b/layers/multi.cpp
index 574e5c2..fd286b4 100644
--- a/layers/multi.cpp
+++ b/layers/multi.cpp
@@ -177,7 +177,7 @@
}
}
-VK_LAYER_EXPORT void * VKAPI multi1GetInstanceProcAddr(VkInstance inst, const char* pName)
+VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI multi1GetInstanceProcAddr(VkInstance inst, const char* pName)
{
VkBaseLayerObject* instw = (VkBaseLayerObject *) inst;
@@ -331,7 +331,7 @@
}
-VK_LAYER_EXPORT void * VKAPI multi2GetDeviceProcAddr(VkDevice device, const char* pName)
+VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI multi2GetDeviceProcAddr(VkDevice device, const char* pName)
{
VkBaseLayerObject* devw = (VkBaseLayerObject *) device;
@@ -359,7 +359,7 @@
}
}
-VK_LAYER_EXPORT void * VKAPI multi2GetInstanceProcAddr(VkInstance inst, const char* pName)
+VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI multi2GetInstanceProcAddr(VkInstance inst, const char* pName)
{
VkBaseLayerObject* instw = (VkBaseLayerObject *) inst;
@@ -444,7 +444,7 @@
pCount, pProperties);
}
-VK_LAYER_EXPORT void * VKAPI vkGetDeviceProcAddr(VkDevice device, const char* pName)
+VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI vkGetDeviceProcAddr(VkDevice device, const char* pName)
{
// to find each layers GPA routine Loader will search via "<layerName>GetDeviceProcAddr"
if (!strcmp("multi1GetDeviceProcAddr", pName))