mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 04:41:43 +00:00
If we fail to debug a pixel, open the pixel history instead
This commit is contained in:
1 parent
ac55f93ff6
commit
87d748f4fb
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user