Remove the exit-game sync again.

It's not actually needed until some of the additions made on master, and
in that case, I'm going to change the solution again.
This commit is contained in:
Henrik Rydgård 2023-10-12 10:14:19 +02:00
parent 2c751d39f8
commit a507563708

View File

@ -518,14 +518,12 @@ void VulkanRenderManager::CompileThreadFunc() {
}
void VulkanRenderManager::DrainAndBlockCompileQueue() {
EndCurRenderStep();
std::unique_lock<std::mutex> lock(compileMutex_);
compileBlocked_ = true;
compileCond_.notify_all();
while (!compileQueue_.empty()) {
queueRunner_.WaitForCompileNotification();
}
FlushSync();
}
void VulkanRenderManager::ReleaseCompileQueue() {