mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user