Fixing mesh rendering

This commit is contained in:
Dynamitos committed 2023-12-24 21:49:49 +01:00
1 parent 95dcfda1cd
commit 1ae8d68838
8 files changed
+51 -33

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ void ThreadPool::runAndWait(List<std::function<void()>> functions)
void ThreadPool::work()
{
while (true)
while (running)
{
std::unique_lock l(taskLock);
while(currentTask.functions.empty())