From 8bbfe4157933e800d6e351459e11258ccd190fdb Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Mon, 18 Jan 2016 17:42:08 -0700 Subject: [PATCH] debug_report: MR141, Change pUserData to match type used elsewhere Other uses of pUserData in Vulkan do not have a const qualifier, remove it for this pUserData. --- 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 546e91d..aeb6ab9 100644 --- a/include/vulkan/vk_layer.h +++ b/include/vulkan/vk_layer.h @@ -208,7 +208,7 @@ typedef struct VkLayerDbgFunctionNode_ VkDebugReportCallbackEXT msgCallback; PFN_vkDebugReportCallbackEXT pfnMsgCallback; VkFlags msgFlags; - const void *pUserData; + void *pUserData; struct VkLayerDbgFunctionNode_ *pNext; } VkLayerDbgFunctionNode;