diff options
author | Darafei Praliaskouski <komzpa@mapswith.me> | 2013-05-27 20:28:58 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:55:25 +0300 |
commit | 56fe172421726ae36ea5361ec06c6f42226d93d4 (patch) | |
tree | b6c2a6def04dec138fabaf309a96370e5aaba7ac /map/ruler.cpp | |
parent | deaf2586ca631c6d656eb907d6ff31bde187258c (diff) |
[graphics] removed bogus fastSolidPath (fixes ruler)
Diffstat (limited to 'map/ruler.cpp')
-rw-r--r-- | map/ruler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/map/ruler.cpp b/map/ruler.cpp index 6b2624d5e9..b2b91342e6 100644 --- a/map/ruler.cpp +++ b/map/ruler.cpp @@ -314,7 +314,6 @@ void Ruler::cache() cs->setDisplayList(m_dl.get()); cs->applySharpStates(); - cs->setUseNormals(true); double k = visualScale(); @@ -325,12 +324,11 @@ void Ruler::cache() cs->drawPath( path, ARRAY_SIZE(path), 0, - cs->mapInfo(graphics::Pen::Info(graphics::Color(0, 0, 0, 0x99), 4 * k, 0, 0, 0)), + cs->mapInfo(graphics::Pen::Info(graphics::Color(0, 0, 0, 0x99), 4 * k, 0, 0, 0, 0, 0, graphics::Pen::Info::ERoundJoin, graphics::Pen::Info::EButtCap)), depth()); cs->setDisplayList(0); - cs->setUseNormals(false); cs->applyStates(); cs->endFrame(); |