forked from organicmaps/organicmaps
Merge pull request #4503 from rokuz/fixed-bm-disp
Fixed bookmark displaying
This commit is contained in:
commit
88d7e4d421
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ void CacheUserPoints(UserMarksProvider const * provider, ref_ptr<dp::TextureMana
|
|||
state.SetColorTexture(region.GetTexture());
|
||||
state.SetTextureFilter(gl_const::GLNearest);
|
||||
|
||||
dp::Batcher batcher(indicesCount, vertexCount);
|
||||
uint32_t const kMaxSize = 65000;
|
||||
dp::Batcher batcher(min(indicesCount, kMaxSize), min(vertexCount, kMaxSize));
|
||||
dp::SessionGuard guard(batcher, [&key, &outShapes](dp::GLState const & state,
|
||||
drape_ptr<dp::RenderBucket> && b)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue