layers: gh1649 - Fix clang warning
authorMark Young <marky@lunarg.com>
Wed, 5 Apr 2017 21:58:44 +0000 (15:58 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Fri, 4 May 2018 15:24:25 +0000 (09:24 -0600)
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

index 5458ff2..a7ac291 100644 (file)
@@ -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