mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-06 14:51:04 +00:00
Tidy up handling of windowing data, make it a bit more type safe
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user