aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMark Young <[email protected]>2017-04-05 15:58:44 -0600
committerMark Lobodzinski <[email protected]>2018-05-04 09:24:25 -0600
commit1ccf86fb60d099b4108fd27955724e8f40f7103a (patch)
tree2be42df709429b6f0ffd3dff129d54866958a703
parent5f3d8fa4eafdd56871596ab213908a5d61f58790 (diff)
downloadVulkan-Headers-1ccf86fb60d099b4108fd27955724e8f40f7103a.tar.gz
Vulkan-Headers-1ccf86fb60d099b4108fd27955724e8f40f7103a.zip
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
-rw-r--r--include/vulkan/vk_layer.h2
1 files changed, 1 insertions, 1 deletions
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