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:
baldurk
2020-10-01 11:55:19 +01:00
parent f975ef3cb0
commit 631a73fa76
-2
View File
@@ -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