aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
Diffstat (limited to 'layers')
-rw-r--r--layers/vk_layer_logging.h4
1 files changed, 2 insertions, 2 deletions
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];