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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-12-10 18:58:09 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-12-29 16:42:33 +0300
commit2996e48cee3838dc1c1451251e03b4cfa2ef4af6 (patch)
tree57cb1ac9e4c652326535f568538d9d8a8cc5b9ff /drape_head
parent046e8f6b0fc5eb8748fc66900439ad227279fb3d (diff)
Rendering poi and texts on the tops of buildings.
Diffstat (limited to 'drape_head')
-rw-r--r--drape_head/testing_engine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp
index 36a7114f99..2e5f60bc91 100644
--- a/drape_head/testing_engine.cpp
+++ b/drape_head/testing_engine.cpp
@@ -135,8 +135,8 @@ public:
m2::RectF const & rect = region.GetTexRect();
uint32_t length = region.GetMaskPixelLength();
- glsl::vec3 startPos(m_base.x, m_base.y, 0.0f);
- glsl::vec3 endPos = startPos + glsl::vec3(length, 0.0f, 0.0f);
+ glsl::vec4 startPos(m_base.x, m_base.y, 0.0f, 0.0f);
+ glsl::vec4 endPos = startPos + glsl::vec4(length, 0.0f, 0.0f, 0.0f);
gpu::SolidTexturingVertex vertexes[4] =
{
@@ -172,7 +172,7 @@ public:
m2::RectF const & rect = region.GetTexRect();
- glsl::vec3 const basePoint(900.0f, 700.0f, 0.0f);
+ glsl::vec4 const basePoint(900.0f, 700.0f, 0.0f, 0.0f);
float const halfSize = 12.0f;
glsl::vec2 texCoord = glsl::ToVec2(rect.Center());
gpu::SolidTexturingVertex vertexes[4] =