Add extra bounds check just in case trace has no steps.

This commit is contained in:
baldurk
2015-09-16 01:18:14 +02:00
parent f021aed31b
commit e58c7aff13
+1 -1
View File
@@ -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;