From 04ae89b52db50c754273a052d9171b6d6b43c72f Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Mon, 30 Nov 2015 11:52:06 -0700 Subject: debug_report: Make pUserData always a const This prevents compiler warnings. --- include/vulkan/vk_lunarg_debug_report.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/vulkan/vk_lunarg_debug_report.h b/include/vulkan/vk_lunarg_debug_report.h index 50ee9ea8..7dce07e9 100644 --- a/include/vulkan/vk_lunarg_debug_report.h +++ b/include/vulkan/vk_lunarg_debug_report.h @@ -122,7 +122,7 @@ typedef VkBool32 (*PFN_vkDbgMsgCallback)( int32_t msgCode, const char* pLayerPrefix, const char* pMsg, - void* pUserData); + const void* pUserData); // ------------------------------------------------------------------------------------------------ // API functions -- cgit v1.2.3