mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 02:51:13 +00:00
Add extra bounds check just in case trace has no steps.
This commit is contained in:
1 parent
f021aed31b
commit
e58c7aff13
1 file changed
+1
-1
@@ -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