mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
If we fail to debug a pixel, open the pixel history instead
This commit is contained in:
@@ -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