mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 20:31:02 +00:00
Only reset debug text on indent level 0
This commit is contained in:
@@ -1522,8 +1522,11 @@ uint32_t Serialiser::PushContext(const char *name, uint32_t chunkIdx, bool small
|
||||
}
|
||||
else
|
||||
{
|
||||
// reset debug text
|
||||
m_DebugText = "";
|
||||
if(m_Indent == 0)
|
||||
{
|
||||
// reset debug text
|
||||
m_DebugText = "";
|
||||
}
|
||||
|
||||
if(chunkIdx > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user