diff options
| author | Lenny Komow <lenny@lunarg.com> | 2018-02-15 11:35:59 -0700 |
|---|---|---|
| committer | Mike Schuchardt <mikes@lunarg.com> | 2018-03-09 13:54:31 -0700 |
| commit | 134d0aff002e637a1c423f5e1db0caa229ae83a1 (patch) | |
| tree | 145ef4d5a45b3de3b1eb6918db6b589c5607593a | |
| parent | 1cf439758863859edc1089df95c76a0547dfccaa (diff) | |
| download | usermoji-134d0aff002e637a1c423f5e1db0caa229ae83a1.tar.xz | |
layers: Fix wrong format specifier in layer log
| -rw-r--r-- | layers/vk_layer_logging.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/vk_layer_logging.h b/layers/vk_layer_logging.h index 61e109af..09d21f84 100644 --- a/layers/vk_layer_logging.h +++ b/layers/vk_layer_logging.h @@ -906,8 +906,8 @@ static inline VKAPI_ATTR VkBool32 VKAPI_CALL messenger_win32_debug_output_msg( PrintMessageSeverity(message_severity, msg_severity); PrintMessageType(message_type, msg_type); - _snprintf(buf, sizeof(buf) - 1, "%s (%s / %s): object: 0x%" PRIxPTR " type: %d msgNum: %d - %s\n", - callback_data->pMessageIdName, msg_severity, msg_type, callback_data->pObjects[0].objectHandle, + _snprintf(buf, sizeof(buf) - 1, "%s (%s / %s): object: 0x%" PRIx64 " type: %d msgNum: %d - %s\n", + callback_data->pMessageIdName, msg_severity, msg_type, HandleToUint64(callback_data->pObjects[0].objectHandle), callback_data->pObjects[0].objectType, callback_data->messageIdNumber, callback_data->pMessage); OutputDebugString(buf); |
