Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'drape_frontend/backend_renderer.cpp')
-rw-r--r--drape_frontend/backend_renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drape_frontend/backend_renderer.cpp b/drape_frontend/backend_renderer.cpp
index 67a9e84e91..3b637db0c0 100644
--- a/drape_frontend/backend_renderer.cpp
+++ b/drape_frontend/backend_renderer.cpp
@@ -518,7 +518,7 @@ void BackendRenderer::Routine::Do()
void BackendRenderer::InitGLDependentResource()
{
uint32_t constexpr kBatchSize = 5000;
- m_batchersPool = make_unique_dp<BatchersPool<TileKey, TileKeyStrictComparator>>(ReadManager::ReadCount(),
+ m_batchersPool = make_unique_dp<BatchersPool<TileKey, TileKeyStrictComparator>>(kReadingThreadsCount,
bind(&BackendRenderer::FlushGeometry, this, _1, _2, _3),
kBatchSize, kBatchSize);
m_trafficGenerator->Init();