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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-06-15 17:21:05 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:08:37 +0300
commite04123350dabdf197889e1bcfab9703f59da2844 (patch)
tree2aaaec72b3ff6feb977246c3625ae1001b761ab3 /drape_head
parent58d2b29b915f57cf82a33728b85a1c0a8b2c1b45 (diff)
Improvements of arrows rendering
Diffstat (limited to 'drape_head')
-rw-r--r--drape_head/testing_engine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp
index 9eef22fac4..e6303b5632 100644
--- a/drape_head/testing_engine.cpp
+++ b/drape_head/testing_engine.cpp
@@ -525,7 +525,9 @@ void TestingEngine::DrawImpl()
CommonViewParams rvp;
rvp.m_depth = 95.0f;
- RouteShape(pln, rvp).Draw(make_ref(m_batcher), make_ref(m_textures));
+ RouteShape shape(pln, rvp);
+ shape.PrepareGeometry();
+ shape.Draw(make_ref(m_batcher), make_ref(m_textures));
}
{