From 631a73fa76821bb1855a790d05c02007e9fe171e Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 1 Oct 2020 11:55:19 +0100 Subject: [PATCH] Don't assert on replay thread for CancelReplayLoop * This is the one function that CAN be called from another thread by definition since the replay thread is blocked running the replay loop. --- renderdoc/replay/replay_controller.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/renderdoc/replay/replay_controller.cpp b/renderdoc/replay/replay_controller.cpp index 0acd81dd5..ca1b3ac7f 100644 --- a/renderdoc/replay/replay_controller.cpp +++ b/renderdoc/replay/replay_controller.cpp @@ -1786,8 +1786,6 @@ void ReplayController::ReplayLoop(WindowingData window, ResourceId texid) void ReplayController::CancelReplayLoop() { - CHECK_REPLAY_THREAD(); - Atomic::Inc32(&m_ReplayLoopCancel); // wait for it to actually finish before returning