Don't create unnecessary output for non-mesh buffer viewers

This commit is contained in:
baldurk
2016-02-23 22:24:45 +01:00
parent 9ee529e435
commit 839ee08768
+1 -3
View File
@@ -522,9 +522,7 @@ namespace renderdocui.Windows
{
if (IsDisposed) return;
m_Output = r.CreateOutput(RenderHandle, OutputType.MeshDisplay);
m_Output.SetOutputConfig(m_OutConfig);
RT_UpdateRenderOutput(r);
m_Output = null;
});
}
}