Commit ebde046c by Aaron Hamilton

InitProcess() should fail if InitThread() does.

parent 1be8063e
......@@ -74,7 +74,12 @@ bool InitProcess()
return false;
}
InitThread();
if (! InitThread()) {
assert(0 && "InitProcess(): Failed to initialize thread");
glslang::ReleaseGlobalLock();
return false;
}
glslang::ReleaseGlobalLock();
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