Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert the threadId when a command is reverted.
The replay builder can revert commands (e.g. due to GL errors). However, the revert was not reverting the command builder's state correctly when the thread changed with the reverted command. Thus, if in BeginCommand it was determined that the thread has changed, a `SWITCH_THREAD` opcode is prepared, but then reverted, while the command builder would go on, assuming it has switched threads.
- Loading branch information