Skip to content

Commit

Permalink
Emscripten: Fixed incorrect App::Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailGorobets committed Feb 27, 2024
1 parent 4ee3e95 commit bb61367
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions NativeApp/src/Emscripten/EmscriptenAppBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,5 @@ void Diligent::EmscriptenAppBase::Update()
auto CurrTime = m_Timer.GetElapsedTime();
auto ElapsedTime = CurrTime - m_PrevTime;
m_PrevTime = CurrTime;

if (IsReady())
{
Update(CurrTime, ElapsedTime);
Render();
}
Update(CurrTime, ElapsedTime);
}

0 comments on commit bb61367

Please sign in to comment.