mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Expand IStackResolver into ICaptureAccess to allow section read/write
This commit is contained in:
@@ -101,10 +101,10 @@ void APIInspector::on_apiEvents_itemSelectionChanged()
|
||||
|
||||
if(!ev.callstack.isEmpty())
|
||||
{
|
||||
if(m_Ctx.Replay().GetResolver())
|
||||
if(m_Ctx.Replay().GetCaptureAccess())
|
||||
{
|
||||
m_Ctx.Replay().AsyncInvoke([this, ev](IReplayController *) {
|
||||
rdcarray<rdcstr> stack = m_Ctx.Replay().GetResolver()->GetResolve(ev.callstack);
|
||||
rdcarray<rdcstr> stack = m_Ctx.Replay().GetCaptureAccess()->GetResolve(ev.callstack);
|
||||
|
||||
GUIInvoke::call([this, stack]() { addCallstack(stack); });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user