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:
Diffstat (limited to 'drape_frontend/path_symbol_shape.cpp')
-rw-r--r--drape_frontend/path_symbol_shape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drape_frontend/path_symbol_shape.cpp b/drape_frontend/path_symbol_shape.cpp
index ddc8b9ded5..f4535c9936 100644
--- a/drape_frontend/path_symbol_shape.cpp
+++ b/drape_frontend/path_symbol_shape.cpp
@@ -36,7 +36,7 @@ void PathSymbolShape::Draw(dp::RefPointer<dp::Batcher> batcher, dp::RefPointer<d
m2::Spline::iterator splineIter = m_spline.CreateIterator();
double pToGScale = 1.0 / m_params.m_baseGtoPScale;
- splineIter.Step(m_params.m_offset * pToGScale);
+ splineIter.Advance(m_params.m_offset * pToGScale);
float step = m_params.m_step * pToGScale;
glsl::vec2 dummy(0.0, 0.0);
while (!splineIter.BeginAgain())
@@ -53,7 +53,7 @@ void PathSymbolShape::Draw(dp::RefPointer<dp::Batcher> batcher, dp::RefPointer<d
buffer.push_back(gpu::SolidTexturingVertex(glsl::vec3(pivot - d - n, m_params.m_depth), dummy, glsl::ToVec2(rect.LeftBottom())));
buffer.push_back(gpu::SolidTexturingVertex(glsl::vec3(pivot + d + n, m_params.m_depth), dummy, glsl::ToVec2(rect.RightTop())));
buffer.push_back(gpu::SolidTexturingVertex(glsl::vec3(pivot + d - n, m_params.m_depth), dummy, glsl::ToVec2(rect.RightBottom())));
- splineIter.Step(step);
+ splineIter.Advance(step);
}
if (buffer.empty())