From 3bc3f7a9021707b3aedfb82b76bcc2256f24a8a5 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 25 Sep 2014 08:20:47 +0100 Subject: [PATCH] Fix for crash if frame capture is queued & process fails to create --- renderdocui/Windows/Dialogs/CaptureDialog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdocui/Windows/Dialogs/CaptureDialog.cs b/renderdocui/Windows/Dialogs/CaptureDialog.cs index 97e76b33b..ba214fe9d 100644 --- a/renderdocui/Windows/Dialogs/CaptureDialog.cs +++ b/renderdocui/Windows/Dialogs/CaptureDialog.cs @@ -254,7 +254,7 @@ namespace renderdocui.Windows.Dialogs var live = m_CaptureCallback(exe, workingDir, cmdLine, GetSettings().Options); - if (queueFrameCap.Checked) + if (queueFrameCap.Checked && live != null) live.QueueCapture((int)queuedCapFrame.Value); }