mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-26 16:48:20 +00:00
Only reset debug text on indent level 0
This commit is contained in:
1 parent
34da5158cf
commit
fe414dfc9c
1 file changed
+5
-2
@@ -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