Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Dec 30, 2023
1 parent 7708233 commit 5fd911b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/framework/core/graphicalapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ void GraphicalApplication::poll()

void GraphicalApplication::dispatchPoll()
{
std::scoped_lock l(g_drawPool.get(DrawPoolType::FOREGROUND)->getMutexPreDraw());
std::scoped_lock l(g_drawPool.get(DrawPoolType::FOREGROUND)->getMutexPreDraw(),
g_drawPool.get(DrawPoolType::FOREGROUND_MAP)->getMutexPreDraw());

Application::dispatchPoll();
}

Expand Down

0 comments on commit 5fd911b

Please sign in to comment.