Tidy up handling of windowing data, make it a bit more type safe

This commit is contained in:
baldurk
2018-01-01 17:31:19 +00:00
parent b8bd99a24a
commit 6572cd97f5
40 changed files with 268 additions and 235 deletions
+1 -2
View File
@@ -1362,8 +1362,7 @@ void BufferViewer::OnCaptureLoaded()
WId renderID = ui->render->winId();
m_Ctx.Replay().BlockInvoke([renderID, this](IReplayController *r) {
m_Output = r->CreateOutput(m_Ctx.CurWindowingSystem(), m_Ctx.FillWindowingData(renderID),
ReplayOutputType::Mesh);
m_Output = r->CreateOutput(m_Ctx.CreateWindowingData(renderID), ReplayOutputType::Mesh);
ui->render->setOutput(m_Output);