From 87d748f4fbbe22e83dc4207736c68fab05d02544 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 11 Jul 2015 00:43:16 +0200 Subject: [PATCH] If we fail to debug a pixel, open the pixel history instead --- renderdocui/Windows/TextureViewer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdocui/Windows/TextureViewer.cs b/renderdocui/Windows/TextureViewer.cs index 6c5f53753..2907ccf8b 100644 --- a/renderdocui/Windows/TextureViewer.cs +++ b/renderdocui/Windows/TextureViewer.cs @@ -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; }