Prime post-vs data when log is loaded (or bufferviewer is newly opened)

* This fixes the bug that's been around for a while, where if you have
  an event selected and then open the buffer viewer, it won't have the
  post vs data available until you re-select that event.
This commit is contained in:
baldurk
2015-01-26 14:27:16 +00:00
parent 5c46ccb86d
commit 184d3a6789
+1
View File
@@ -445,6 +445,7 @@ namespace renderdocui.Windows
m_Output = r.CreateOutput(RenderHandle);
m_Output.SetOutputConfig(m_OutConfig);
RT_UpdateRenderOutput(r);
m_Output.Display(); // pump the display once, this will fetch postvs data
m_VSIn.m_Input = GetCurrentMeshInput(draw, MeshDataStage.VSIn);
m_VSOut.m_Input = GetCurrentMeshInput(draw, MeshDataStage.VSOut);