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
2017-11-10 12:22:13 +00:00
parent 241b8f4404
commit 954a11de89
6 changed files with 30 additions and 7 deletions
+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;