Implement shutting down individual replay outputs

* This means e.g. that if the mesh output view gets closed, we don't
  keep it around internally and keep calling InitPostVSBuffers for it.
This commit is contained in:
baldurk committed 2017-11-10 12:22:13 +00:00
1 parent 241b8f4404
commit 954a11de89
6 files changed
+30 -7

No files matched your search

+3
View File
@@ -652,6 +652,9 @@ TextureViewer::TextureViewer(ICaptureContext &ctx, QWidget *parent)
TextureViewer::~TextureViewer()
{
if(m_Output)
m_Output->Shutdown();
m_Ctx.BuiltinWindowClosed(this);
m_Ctx.RemoveLogViewer(this);
delete ui;