mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-12 00:42:55 +00:00
Don't allow HTML pipeline export with no capture loaded
This commit is contained in:
1 file changed
+3
@@ -202,6 +202,9 @@ void PipelineStateViewer::setToVulkan()
|
||||
|
||||
QXmlStreamWriter *PipelineStateViewer::beginHTMLExport()
|
||||
{
|
||||
if(!m_Ctx.IsCaptureLoaded())
|
||||
return NULL;
|
||||
|
||||
QString filename = RDDialog::getSaveFileName(this, tr("Export pipeline state as HTML"), QString(),
|
||||
tr("HTML files (*.html)"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user