If we fail to debug a pixel, open the pixel history instead

This commit is contained in:
baldurk
2015-07-11 00:43:16 +02:00
parent ac55f93ff6
commit 87d748f4fb
+2 -2
View File
@@ -3067,8 +3067,8 @@ namespace renderdocui.Windows
if (trace == null || trace.states.Length == 0)
{
MessageBox.Show("Couldn't find pixel to debug.\nEnsure the relevant drawcall is selected for this pixel.", "No Pixel Found",
MessageBoxButtons.OK, MessageBoxIcon.Information);
// if we couldn't debug the pixel on this event, open up a pixel history
pixelHistory_Click(sender, e);
return;
}