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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-10-20 15:04:46 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:19:16 +0300
commitdecafccf1fcda9540f0bb1386f409607db9ed01a (patch)
treefba47bfaad98360ffc7e5f3eefc320d3352206bd /drape_head
parent8a4cf2877ffc09276e83a429a482caad5583cb36 (diff)
Fixed some bugs on Android
Diffstat (limited to 'drape_head')
-rw-r--r--drape_head/testing_engine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp
index 727f52f41f..3871fa3d00 100644
--- a/drape_head/testing_engine.cpp
+++ b/drape_head/testing_engine.cpp
@@ -416,9 +416,7 @@ void TestingEngine::DrawImpl()
{
m_generalUniforms.SetFloatValue("u_opacity", 1.0f);
m_generalUniforms.SetFloatValue("u_color", 0.0f, 0.0f, 1.0f, 0.7f);
- m_generalUniforms.SetFloatValue("u_halfWidth", 15.0f, 15.0f * m_modelView.GetScale());
-
- m_generalUniforms.SetFloatValue("u_clipLength", 8.0f);
+ m_generalUniforms.SetFloatValue("u_routeParams", 15.0f, 15.0f * m_modelView.GetScale(), 8.0f);
dp::Batcher::TFlushFn flushFn = bind(&df::TestingEngine::OnFlushData, this, _1, _2);
m_batcher->StartSession(flushFn);