Commit ebde046c by Aaron Hamilton

InitProcess() should fail if InitThread() does.

parent 1be8063e
...@@ -74,7 +74,12 @@ bool InitProcess() ...@@ -74,7 +74,12 @@ bool InitProcess()
return false; return false;
} }
InitThread(); if (! InitThread()) {
assert(0 && "InitProcess(): Failed to initialize thread");
glslang::ReleaseGlobalLock();
return false;
}
glslang::ReleaseGlobalLock(); glslang::ReleaseGlobalLock();
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment