mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-06 23:00:59 +00:00
Don't assert if job system is synced when not initialised
This commit is contained in:
@@ -373,11 +373,11 @@ void Shutdown()
|
||||
|
||||
void SyncAllJobs()
|
||||
{
|
||||
RDCASSERTEQUAL(mainThread, Threading::GetCurrentID());
|
||||
|
||||
if(workers.empty())
|
||||
return;
|
||||
|
||||
RDCASSERTEQUAL(mainThread, Threading::GetCurrentID());
|
||||
|
||||
while(true)
|
||||
{
|
||||
// job we grabbed to work on
|
||||
|
||||
Reference in New Issue
Block a user