mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Change previous/next/parent IDs in DrawcallDescription to pointers
* This is a legacy holdover from the C# interop not being able to preserve pointers easily.
This commit is contained in:
@@ -199,11 +199,11 @@ public:
|
||||
|
||||
QString ret;
|
||||
QList<const DrawcallDescription *> drawstack;
|
||||
const DrawcallDescription *parent = m_Ctx.GetDrawcall(drawcall->parent);
|
||||
const DrawcallDescription *parent = drawcall->parent;
|
||||
while(parent)
|
||||
{
|
||||
drawstack.push_back(parent);
|
||||
parent = m_Ctx.GetDrawcall(parent->parent);
|
||||
parent = parent->parent;
|
||||
}
|
||||
|
||||
if(!drawstack.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user