Light Culling still doesn't work properly

This commit is contained in:
Dynamitos committed 2022-02-24 22:38:26 +01:00
1 parent 5268bb68e2
commit 84049a762c
44 files changed
+163 -151

No files matched your search

-7
View File
@@ -22,16 +22,9 @@ public:
{
return windows.size();
}
void waitForCompletion()
{
std::unique_lock lock(windowsLock);
windowsCV.wait(lock);
}
private:
Array<PWindow> windows;
std::mutex windowsLock;
std::condition_variable windowsCV;
static Gfx::PGraphics graphics;
};
DEFINE_REF(WindowManager)