diff --git a/src/framework/core/graphicalapplication.cpp b/src/framework/core/graphicalapplication.cpp index a1a5975e4b..d78df869a3 100644 --- a/src/framework/core/graphicalapplication.cpp +++ b/src/framework/core/graphicalapplication.cpp @@ -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(); }