mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-11 08:39:48 +12:00
Sleep instead of yield
This commit is contained in:
parent
83ebb954b8
commit
4dd3cd89bf
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ AsyncCompilerThread::AsyncCompilerThread(PICA::ShaderGen::FragmentGenerator& fra
|
|||
}
|
||||
|
||||
hasWork.store(false);
|
||||
std::this_thread::yield();
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||
}
|
||||
|
||||
AsyncCompiler::destroyContext(context);
|
||||
|
|
Loading…
Add table
Reference in a new issue