diff options
| author | Courtney Goeltzenleuchter <courtneygo@google.com> | 2016-01-18 17:42:08 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-01-19 13:30:45 -0700 |
| commit | a5a167a32441683837d21a2dd506946fca6301c3 (patch) | |
| tree | 2dc52a37c9114dfeec722f6b01ce9d6d7840809f /include | |
| parent | eafb6206f2b5f0c2a66cb8ea285c17e40c1894ed (diff) | |
| download | usermoji-a5a167a32441683837d21a2dd506946fca6301c3.tar.xz | |
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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/vulkan/vk_ext_debug_report.h | 4 | ||||
| -rw-r--r-- | include/vulkan/vk_layer.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vulkan/vk_ext_debug_report.h b/include/vulkan/vk_ext_debug_report.h index 40d0df3e..e9577b94 100644 --- a/include/vulkan/vk_ext_debug_report.h +++ b/include/vulkan/vk_ext_debug_report.h @@ -106,7 +106,7 @@ typedef VkBool32 (VKAPI_PTR *PFN_vkDebugReportCallbackEXT)( int32_t messageCode, const char* pLayerPrefix, const char* pMessage, - const void* pUserData); + void* pUserData); typedef struct VkDebugReportCallbackCreateInfoEXT { @@ -114,7 +114,7 @@ typedef struct VkDebugReportCallbackCreateInfoEXT { const void* pNext; VkDebugReportFlagsEXT flags; PFN_vkDebugReportCallbackEXT pfnCallback; - const void* pUserData; + void* pUserData; } VkDebugReportCallbackCreateInfoEXT; typedef VkResult (VKAPI_PTR *PFN_vkCreateDebugReportCallbackEXT)(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback); diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index 546e91d6..aeb6ab91 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; |
