diff options
author | vng <viktor.govako@gmail.com> | 2015-05-15 13:09:27 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:48:08 +0300 |
commit | 1f50787b057ea3fef8c5f0b3a3945286ce07ea6a (patch) | |
tree | e570520307996acf9acb9742435b1d17f567010c /map/user_mark_container.cpp | |
parent | eefa43a2b1e4d0bc73ca81922b8614ec05dff6c4 (diff) |
Render policies refactoring to support GPU and Software rendering.
Diffstat (limited to 'map/user_mark_container.cpp')
-rw-r--r-- | map/user_mark_container.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/user_mark_container.cpp b/map/user_mark_container.cpp index 731aa5b656..19698e662b 100644 --- a/map/user_mark_container.cpp +++ b/map/user_mark_container.cpp @@ -81,7 +81,7 @@ namespace { #ifndef USE_DRAPE ScreenBase const & modelView = event.GetModelView(); - graphics::Screen * screen = event.GetDrawer()->screen(); + graphics::Screen * screen = GPUDrawer::GetScreen(event.GetDrawer()); m2::PointD pxPoint = modelView.GtoP(ptOrg); pxPoint += (pixelOfsset * visualScale); math::Matrix<double, 3, 3> m = math::Shift(math::Scale(math::Identity<double, 3>(), |