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
path: root/map
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2011-02-09 02:51:56 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:12:04 +0300
commit71c1b6a8a2b591d5fe9a0b52cb34ec4a4719d70d (patch)
tree9cdcf737a7238e945bb9cd4d611cc9d7d33fdd6c /map
parentfc19e9634af6eda32664c7e6e5bb3e15f9de65d4 (diff)
clearing text tree on full repaint.
Diffstat (limited to 'map')
-rw-r--r--map/render_queue_routine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/map/render_queue_routine.cpp b/map/render_queue_routine.cpp
index 553c798aa1..f40e42b9b3 100644
--- a/map/render_queue_routine.cpp
+++ b/map/render_queue_routine.cpp
@@ -283,6 +283,9 @@ void RenderQueueRoutine::Do()
/// update areas in pixel coordinates.
vector<m2::RectI> areas;
+ if (s.m_doRepaintAll)
+ m_threadDrawer->screen()->clearTextTree();
+
getUpdateAreas(areas);
m_threadDrawer->beginFrame();