From ab17740d01c977d7189ae88a47ff1d747165e519 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Wed, 5 Apr 2017 15:58:44 -0600 Subject: 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(-) (limited to 'include/vulkan') diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index 5458ff2b..a7ac2915 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 -- cgit v1.2.3