shader compiler - wait deadlock fixed
This commit is contained in:
parent
7411f10185
commit
b43ca9b8ef
1 changed files with 5 additions and 1 deletions
|
@ -440,7 +440,11 @@ void ShaderCompiler::processChangedFiles()
|
|||
|
||||
void ShaderCompiler::wait()
|
||||
{
|
||||
while (m_is_compiling) Lumix::MT::sleep(500);
|
||||
while (m_is_compiling)
|
||||
{
|
||||
update();
|
||||
Lumix::MT::sleep(500);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue