diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-10-29 18:19:14 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:46:21 +0300 |
commit | dc35f91b503b7f101d9d14dedad85775edde8f79 (patch) | |
tree | 68c6e3697e1d92a9efe9a028653abeac4c2d8fa3 /map/compass_arrow.cpp | |
parent | b7ba0bc6ae862ea9dc86718261ad4cfd932df3d1 (diff) |
refactored logic of DisplayList rendering. lower levels of logic should not relay on higher levels.
Diffstat (limited to 'map/compass_arrow.cpp')
-rw-r--r-- | map/compass_arrow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/compass_arrow.cpp b/map/compass_arrow.cpp index 591af59629..5505017e77 100644 --- a/map/compass_arrow.cpp +++ b/map/compass_arrow.cpp @@ -65,7 +65,7 @@ void CompassArrow::draw(yg::gl::OverlayRenderer * r, m_angle), pivot()); - m_displayList->draw(drawM * m); + r->drawDisplayList(m_displayList.get(), drawM * m); } } |