mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Tweak empty array debug prints and add newline
This commit is contained in:
@@ -375,7 +375,7 @@ class Serialiser
|
||||
if(name != NULL && m_DebugTextWriting)
|
||||
{
|
||||
if(numElems == 0)
|
||||
DebugPrint("%s[0]", name);
|
||||
DebugPrint("%s[]\n", name);
|
||||
|
||||
for(size_t i=0; i < numElems; i++)
|
||||
DebugPrint("%s[%d] = %s\n", name, i, ToStr::Get<T>(el[i]).c_str());
|
||||
@@ -423,7 +423,7 @@ class Serialiser
|
||||
}
|
||||
|
||||
if(name != NULL && m_DebugTextWriting && Num == 0)
|
||||
DebugPrint("%s[0]", name);
|
||||
DebugPrint("%s[]\n", name);
|
||||
}
|
||||
|
||||
// overload for 64-bit counts
|
||||
|
||||
Reference in New Issue
Block a user