Quick and dirty task pool for scheduling back to main thread

This commit is contained in:
Georg Hagen
2024-12-10 23:43:58 +01:00
parent b961eb47fe
commit 6ca7329f7a
5 changed files with 132 additions and 0 deletions

View File

@@ -194,6 +194,7 @@ namespace OpenVulkano
{
auto start = clock::now();
inputManager->Tick();
mainThreadTaskPool.Tick();
app->Tick();
if (CURRENT_FRAME.needsRedraw)
{