Skip to content
Snippets Groups Projects
Commit 8481679f authored by John Kessenich's avatar John Kessenich
Browse files

Merge pull request #107 from xorgy/fail-init-process-on-init-thread-fail

Fail InitProcess() when InitThread() fails.
parents c9d6477e ebde046c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment