mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-26 11:50:59 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user