mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-10 02:41:47 +00:00
Fixed default_debug_callback warning over unused formal paramter
This commit is contained in:
parent
505f9d91f9
commit
b330527d65
@ -108,12 +108,11 @@ void destroy_debug_utils_messenger (
|
||||
VkBool32 default_debug_callback (VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
|
||||
VkDebugUtilsMessageTypeFlagsEXT messageType,
|
||||
const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData,
|
||||
void* pUserData) {
|
||||
void*) {
|
||||
auto ms = to_string_message_severity (messageSeverity);
|
||||
auto mt = to_string_message_type (messageType);
|
||||
printf ("[%s: %s]\n%s\n", ms, mt, pCallbackData->pMessage);
|
||||
|
||||
assert (pUserData == nullptr && "Default debug callback should have no user data");
|
||||
return VK_FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user