diff options
| -rw-r--r-- | demos/cube.c | 2 | ||||
| -rw-r--r-- | include/vulkan/vk_lunarg_debug_report.h | 2 | ||||
| -rw-r--r-- | layers/vk_layer_logging.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/demos/cube.c b/demos/cube.c index b85ef55d..a8ef8433 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -263,7 +263,7 @@ VkBool32 dbgFunc( int32_t msgCode, const char* pLayerPrefix, const char* pMsg, - void* pUserData) + const void* pUserData) { char *message = (char *) malloc(strlen(pMsg)+100); 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 diff --git a/layers/vk_layer_logging.h b/layers/vk_layer_logging.h index 5f9fe51e..8a38d421 100644 --- a/layers/vk_layer_logging.h +++ b/layers/vk_layer_logging.h @@ -300,7 +300,7 @@ static inline VKAPI_ATTR VkBool32 VKAPI_CALL log_callback( int32_t msgCode, const char* pLayerPrefix, const char* pMsg, - void* pUserData) + const void* pUserData) { char msg_flags[30]; @@ -321,7 +321,7 @@ static inline VKAPI_ATTR VkBool32 VKAPI_CALL win32_debug_output_msg( int32_t msgCode, const char* pLayerPrefix, const char* pMsg, - void* pUserData) + const void* pUserData) { #ifdef WIN32 char msg_flags[30]; |
