Don't print sType values in hex

This commit is contained in:
baldurk
2019-08-08 11:08:16 +01:00
parent 207e4017bb
commit 1eb70f033d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -792,7 +792,7 @@ size_t GetNextPatchSize(const void *pNext)
case VK_STRUCTURE_TYPE_RANGE_SIZE:
case VK_STRUCTURE_TYPE_MAX_ENUM:
RDCERR("Invalid value %x in pNext chain", next->sType);
RDCERR("Invalid value %u in pNext chain", next->sType);
break;
}
+2 -2
View File
@@ -1082,7 +1082,7 @@ static void SerialiseNext(SerialiserType &ser, VkStructureType &sType, const voi
}
if(!handled)
RDCERR("Invalid next structure sType: %x", *nextType);
RDCERR("Invalid next structure sType: %u", *nextType);
// delete the type itself. Any pNext we serialised is saved in the pNext pointer and will be
// deleted in DeserialiseNext()
@@ -1134,7 +1134,7 @@ static void SerialiseNext(SerialiserType &ser, VkStructureType &sType, const voi
}
if(!handled)
RDCERR("Invalid pNext structure sType: %x", next->sType);
RDCERR("Invalid pNext structure sType: %u", next->sType);
// walk to the next item if we didn't serialise the current one
next = (VkBaseInStructure *)next->pNext;