From c73d8c41a266af6becb8ea21acfbb1c5a2abe61c Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 17 Jun 2021 14:07:04 +0100 Subject: [PATCH] Don't replay when creating outputs * This is only necessary if the overlay refresh will actually do work, but when an output is created it can't. --- renderdoc/replay/replay_controller.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/renderdoc/replay/replay_controller.cpp b/renderdoc/replay/replay_controller.cpp index fea439804..18676cf69 100644 --- a/renderdoc/replay/replay_controller.cpp +++ b/renderdoc/replay/replay_controller.cpp @@ -1802,12 +1802,8 @@ ReplayOutput *ReplayController::CreateOutput(WindowingData window, ReplayOutputT m_Outputs.push_back(out); - m_pDevice->ReplayLog(m_EventID, eReplay_WithoutDraw); - out->SetFrameEvent(m_EventID); - m_pDevice->ReplayLog(m_EventID, eReplay_OnlyDraw); - return out; }