Removed spinning audio thread

This commit is contained in:
Antoine Pilote
2024-09-02 12:59:49 -04:00
parent 5077b1b7f8
commit c7a1c10ff0
3 changed files with 30 additions and 57 deletions

View File

@@ -51,6 +51,8 @@ namespace Nuake
{
JobSystem::Get().Update();
AudioManager::Get().AudioUpdate();
s_Time = static_cast<float>(glfwGetTime());
s_TimeStep = s_Time - s_LastFrameTime;
s_LastFrameTime = s_Time;