mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-21 22:16:38 +00:00
runTo expects an instruction instead of a step index
This commit is contained in:
@@ -1424,7 +1424,7 @@ void ShaderViewer::accessedResources_contextMenu(const QPoint &pos)
|
||||
|
||||
QObject::connect(&gotoInstr, &QAction::triggered, [this, tag] {
|
||||
bool forward = (tag.step >= m_CurrentStateIdx);
|
||||
runTo({tag.step}, forward);
|
||||
runTo({m_States[tag.step].nextInstruction}, forward);
|
||||
});
|
||||
|
||||
RDDialog::show(&contextMenu, w->viewport()->mapToGlobal(pos));
|
||||
|
||||
Reference in New Issue
Block a user