From 7fc627d6b95538d9a7362426ed3141fef8152efe Mon Sep 17 00:00:00 2001 From: takiyu <8927943+takiyu@users.noreply.github.com> Date: Tue, 26 Nov 2019 19:28:57 +0900 Subject: [PATCH] Fix lableName typo. (#440) --- .../CreateDebugUtilsMessenger/CreateDebugUtilsMessenger.cpp | 2 +- .../EnableValidationWithCallback.cpp | 2 +- samples/utils/utils.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/CreateDebugUtilsMessenger/CreateDebugUtilsMessenger.cpp b/samples/CreateDebugUtilsMessenger/CreateDebugUtilsMessenger.cpp index 7a50ac2..b1aece9 100644 --- a/samples/CreateDebugUtilsMessenger/CreateDebugUtilsMessenger.cpp +++ b/samples/CreateDebugUtilsMessenger/CreateDebugUtilsMessenger.cpp @@ -50,7 +50,7 @@ VkBool32 debugMessageFunc(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity message << "\t" << "Queue Labels:\n"; for (uint8_t i = 0; i < pCallbackData->queueLabelCount; i++) { - message << "\t\t" << "lableName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n"; + message << "\t\t" << "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n"; } } if (0 < pCallbackData->cmdBufLabelCount) diff --git a/samples/EnableValidationWithCallback/EnableValidationWithCallback.cpp b/samples/EnableValidationWithCallback/EnableValidationWithCallback.cpp index 4440059..cef036f 100644 --- a/samples/EnableValidationWithCallback/EnableValidationWithCallback.cpp +++ b/samples/EnableValidationWithCallback/EnableValidationWithCallback.cpp @@ -54,7 +54,7 @@ VkBool32 debugMessageFunc(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity message += "\t"s + "Queue Labels:\n"; for (uint8_t i = 0; i < pCallbackData->queueLabelCount; i++) { - message += "\t\t"s + "lableName = <" + pCallbackData->pQueueLabels[i].pLabelName + ">\n"; + message += "\t\t"s + "labelName = <" + pCallbackData->pQueueLabels[i].pLabelName + ">\n"; } } if (0 < pCallbackData->cmdBufLabelCount) diff --git a/samples/utils/utils.cpp b/samples/utils/utils.cpp index a96dd5e..cc0baa9 100644 --- a/samples/utils/utils.cpp +++ b/samples/utils/utils.cpp @@ -275,7 +275,7 @@ namespace vk std::cerr << "\t" << "Queue Labels:\n"; for (uint8_t i = 0; i < pCallbackData->queueLabelCount; i++) { - std::cerr << "\t\t" << "lableName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n"; + std::cerr << "\t\t" << "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n"; } } if (0 < pCallbackData->cmdBufLabelCount) @@ -887,4 +887,4 @@ std::ostream& operator<<(std::ostream& os, vk::su::UUID const& uuid) } os << std::setfill(' ') << std::dec; return os; -} \ No newline at end of file +}