mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 04:41:07 +00:00
Don't print sType values in hex
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user