mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Add extra bounds check just in case trace has no steps.
This commit is contained in:
@@ -1772,7 +1772,7 @@ namespace renderdocui.Windows
|
||||
|
||||
bool firstStep = true;
|
||||
|
||||
while (true)
|
||||
while (step < m_Trace.states.Length)
|
||||
{
|
||||
if (m_Trace.states[step].nextInstruction == runToInstruction)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user