diff --git a/renderdoc/core/replay_proxy.cpp b/renderdoc/core/replay_proxy.cpp index ecf378509..469c64dc6 100644 --- a/renderdoc/core/replay_proxy.cpp +++ b/renderdoc/core/replay_proxy.cpp @@ -1860,7 +1860,7 @@ const DrawcallDescription *ReplayProxy::FindDraw(const rdcarrayGetSupportedWindowSystems()); if(data.system != WindowingSystem::Unknown) @@ -1876,11 +1876,14 @@ void ReplayProxy::ShutdownPreviewWindow() { m_Replay->DestroyOutputWindow(m_PreviewOutput); m_PreviewWindow(false, {}); + m_PreviewOutput = 0; } } void ReplayProxy::RefreshPreviewWindow() { + InitPreviewWindow(); + if(m_Replay && m_PreviewOutput) { m_Replay->BindOutputWindow(m_PreviewOutput, false);