shader compiler - wait deadlock fixed

This commit is contained in:
Mikulas Florek 2016-01-10 23:28:14 +01:00
parent 7411f10185
commit b43ca9b8ef

View file

@ -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);
}
}