From 1ccf86fb60d099b4108fd27955724e8f40f7103a Mon Sep 17 00:00:00 2001 From: Mark Young Date: Wed, 5 Apr 2017 15:58:44 -0600 Subject: [PATCH] layers: gh1649 - Fix clang warning The function pointer definition for the Physical device extensions was incorrect. Updated to work properly and remove clang warning. This was also causing an issue with Tony's latest test. Change-Id: Ibdd19754a4394d1b88d3a20268238baaf3ec0907 --- include/vulkan/vk_layer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index 5458ff2..a7ac291 100644 --- a/include/vulkan/vk_layer.h +++ b/include/vulkan/vk_layer.h @@ -68,7 +68,7 @@ typedef struct VkNegotiateLayerInterface { typedef VkResult (VKAPI_PTR *PFN_vkNegotiateLoaderLayerInterfaceVersion)(VkNegotiateLayerInterface *pVersionStruct); // Function prototype for unknown physical device extension command -typedef VkResult(VKAPI_PTR *PFN_PhysDevExt)(VkPhysicalDevice phys_device, ...); +typedef VkResult(VKAPI_PTR *PFN_PhysDevExt)(VkPhysicalDevice phys_device); // ------------------------------------------------------------------------------------------------ // CreateInstance and CreateDevice support structures