Change type of loop variables from uint8_t to uint32_t.

This commit is contained in:
asuessenbach
2022-02-09 08:32:42 +01:00
parent 8507dba945
commit 9142bea37e
5 changed files with 15 additions and 15 deletions

View File

@@ -42,7 +42,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
{
message << "\t"
<< "Queue Labels:\n";
for ( uint8_t i = 0; i < pCallbackData->queueLabelCount; i++ )
for ( uint32_t i = 0; i < pCallbackData->queueLabelCount; i++ )
{
message << "\t\t"
<< "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n";
@@ -52,7 +52,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
{
message << "\t"
<< "CommandBuffer Labels:\n";
for ( uint8_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
for ( uint32_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
{
message << "\t\t"
<< "labelName = <" << pCallbackData->pCmdBufLabels[i].pLabelName << ">\n";
@@ -62,7 +62,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
{
message << "\t"
<< "Objects:\n";
for ( uint8_t i = 0; i < pCallbackData->objectCount; i++ )
for ( uint32_t i = 0; i < pCallbackData->objectCount; i++ )
{
message << "\t\t"
<< "Object " << i << "\n";