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:
authorExMix <rahuba.youri@mapswithme.com>2014-03-19 13:57:25 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:12:59 +0300
commite1fe9012c9cc7cdf3d64f344dc9e26243208dcf4 (patch)
treedbfee02360e04cbb1dbbcb384e0ff4eebe1f1bc2 /drape_head/testing_engine.cpp
parentc38b6b779df3b95026c2ff20914381e2e47ffb69 (diff)
[drape] rename for shorter name.
Convert ScaleProcessor to set of free functions
Diffstat (limited to 'drape_head/testing_engine.cpp')
-rw-r--r--drape_head/testing_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp
index b9457d9ae2..0b0b527c2d 100644
--- a/drape_head/testing_engine.cpp
+++ b/drape_head/testing_engine.cpp
@@ -1,6 +1,6 @@
#include "testing_engine.hpp"
-#include "../drape_frontend/vizualization_params.hpp"
+#include "../drape_frontend/visual_params.hpp"
#include "../drape_frontend/line_shape.hpp"
#include "../base/stl_add.hpp"
@@ -15,7 +15,7 @@ namespace df
, m_viewport(viewport)
{
GLFunctions::Init();
- df::VizualizationParams::SetVisualScale(vs);
+ df::VisualParams::Init(vs, df::CalculateTileSize(viewport.GetWidth(), viewport.GetHeight()));
m_contextFactory->getDrawContext()->makeCurrent();
m_batcher.Reset(new Batcher());